From 535e99dcbf93695184e9abc7b0f82689eb370e9c Mon Sep 17 00:00:00 2001 From: Steven Robbins Date: Wed, 20 Apr 2011 17:53:04 +0100 Subject: [PATCH] Support for 10.5 --- iPhoneTracking.xcodeproj/project.pbxproj | 2 +- iPhoneTrackingAppDelegate.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/iPhoneTracking.xcodeproj/project.pbxproj b/iPhoneTracking.xcodeproj/project.pbxproj index b1ae7f7..8c08554 100644 --- a/iPhoneTracking.xcodeproj/project.pbxproj +++ b/iPhoneTracking.xcodeproj/project.pbxproj @@ -313,7 +313,7 @@ GCC_WARN_UNUSED_VARIABLE = YES; ONLY_ACTIVE_ARCH = YES; PREBINDING = NO; - SDKROOT = macosx10.6; + SDKROOT = macosx10.5; }; name = Debug; }; diff --git a/iPhoneTrackingAppDelegate.h b/iPhoneTrackingAppDelegate.h index f11a56e..f122f18 100644 --- a/iPhoneTrackingAppDelegate.h +++ b/iPhoneTrackingAppDelegate.h @@ -8,7 +8,11 @@ #import #import +#if (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_5) +@interface iPhoneTrackingAppDelegate : NSObject { +#else @interface iPhoneTrackingAppDelegate : NSObject { +#endif NSWindow *window; WebView *webView; WebScriptObject* scriptObject;