physfs_platforms.h
branchstable-2.0
changeset 1296 729ae74cee66
parent 1013 d0a87845e580
child 1314 305e3c4985d1
equal deleted inserted replaced
1294:184697ee7a77 1296:729ae74cee66
    36 #    define PHYSFS_PLATFORM_MACOSX
    36 #    define PHYSFS_PLATFORM_MACOSX
    37 #    define PHYSFS_PLATFORM_POSIX
    37 #    define PHYSFS_PLATFORM_POSIX
    38 #  endif
    38 #  endif
    39 #elif defined(macintosh)
    39 #elif defined(macintosh)
    40 #  error Classic Mac OS support was dropped from PhysicsFS 2.0. Move to OS X.
    40 #  error Classic Mac OS support was dropped from PhysicsFS 2.0. Move to OS X.
    41 #elif defined(unix)
    41 #elif defined(unix) || defined(__unix__)
    42 #  define PHYSFS_PLATFORM_UNIX
    42 #  define PHYSFS_PLATFORM_UNIX
    43 #  define PHYSFS_PLATFORM_POSIX
    43 #  define PHYSFS_PLATFORM_POSIX
    44 #else
    44 #else
    45 #  error Unknown platform.
    45 #  error Unknown platform.
    46 #endif
    46 #endif