Sfoglia il codice sorgente

Check for alternate __unix__ predef.

Ryan C. Gordon 13 anni fa
parent
commit
781f5bf419
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      physfs_platforms.h

+ 1 - 1
physfs_platforms.h

@@ -38,7 +38,7 @@
 #  endif
 #elif defined(macintosh)
 #  error Classic Mac OS support was dropped from PhysicsFS 2.0. Move to OS X.
-#elif defined(unix)
+#elif defined(unix) || defined(__unix__)
 #  define PHYSFS_PLATFORM_UNIX
 #  define PHYSFS_PLATFORM_POSIX
 #else