Переглянути джерело

Fixed building of stable-2.0 branch with Mac OS X 10.6 SDK.

Ryan C. Gordon 16 роки тому
батько
коміт
88268ab857
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      physfs_platforms.h

+ 1 - 1
physfs_platforms.h

@@ -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