Fixed building of stable-2.0 branch with Mac OS X 10.6 SDK. stable-2.0
authorRyan C. Gordon <icculus@icculus.org>
Sun, 06 Sep 2009 01:06:14 -0400
branchstable-2.0
changeset 1013 d0a87845e580
parent 1010 13f24148b2bb
child 1014 2a649b61434c
Fixed building of stable-2.0 branch with Mac OS X 10.6 SDK.
physfs_platforms.h
--- a/physfs_platforms.h	Sun Jul 12 16:46:06 2009 -0400
+++ b/physfs_platforms.h	Sun Sep 06 01:06:14 2009 -0400
@@ -28,7 +28,7 @@
 #elif ((defined __MACH__) && (defined __APPLE__))
 /* To check if iphone or not, we need to include this file */
 # include <TargetConditionals.h> 
-# if (defined(TARGET_IPHONE_SIMULATOR) || (defined TARGET_OS_IPHONE))
+# if ((TARGET_IPHONE_SIMULATOR) || (TARGET_OS_IPHONE))
 #    define PHYSFS_PLATFORM_UNIX
 #    define PHYSFS_PLATFORM_POSIX
 #    define PHYSFS_NO_CDROM_SUPPORT