src/physfs_platforms.h
changeset 1011 6bc1363ad17d
parent 972 254427fc42ab
child 1196 54a1dfb1e6f7
equal deleted inserted replaced
1009:56a3873c63e4 1011:6bc1363ad17d
    26 #elif (defined OS2)
    26 #elif (defined OS2)
    27 #  define PHYSFS_PLATFORM_OS2
    27 #  define PHYSFS_PLATFORM_OS2
    28 #elif ((defined __MACH__) && (defined __APPLE__))
    28 #elif ((defined __MACH__) && (defined __APPLE__))
    29 /* To check if iphone or not, we need to include this file */
    29 /* To check if iphone or not, we need to include this file */
    30 # include <TargetConditionals.h> 
    30 # include <TargetConditionals.h> 
    31 # if (defined(TARGET_IPHONE_SIMULATOR) || (defined TARGET_OS_IPHONE))
    31 # if ((TARGET_IPHONE_SIMULATOR) || (TARGET_OS_IPHONE))
    32 #    define PHYSFS_PLATFORM_UNIX
    32 #    define PHYSFS_PLATFORM_UNIX
    33 #    define PHYSFS_PLATFORM_POSIX
    33 #    define PHYSFS_PLATFORM_POSIX
    34 #    define PHYSFS_NO_CDROM_SUPPORT
    34 #    define PHYSFS_NO_CDROM_SUPPORT
    35 #  else
    35 #  else
    36 #    define PHYSFS_PLATFORM_MACOSX
    36 #    define PHYSFS_PLATFORM_MACOSX