Skip to content

Commit

Permalink
Fixed building with Mac OS X 10.6 SDK.
Browse files Browse the repository at this point in the history
The SDK defines the TARGET_OS_IPHONE, etc symbols to 0, so you can't check
 "#if defined" for them.
  • Loading branch information
icculus committed Sep 6, 2009
1 parent 88729eb commit 5a26df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/physfs_platforms.h
Expand Up @@ -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
Expand Down

0 comments on commit 5a26df8

Please sign in to comment.