Check for alternate __unix__ predef. stable-2.0
authorRyan C. Gordon <icculus@icculus.org>
Thu, 02 Aug 2012 03:04:43 -0400
branchstable-2.0
changeset 1296 729ae74cee66
parent 1294 184697ee7a77
child 1298 3d9ab131709a
Check for alternate __unix__ predef.
physfs_platforms.h
--- a/physfs_platforms.h	Thu Aug 02 02:57:55 2012 -0400
+++ b/physfs_platforms.h	Thu Aug 02 03:04:43 2012 -0400
@@ -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