Added Linux and Solaris tests.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 19 Mar 2012 20:31:50 -0400
changeset 1233 53a01072f272
parent 1232 f930f993412b
child 1234 86e94cbbffca
Added Linux and Solaris tests.
src/physfs_platforms.h
--- a/src/physfs_platforms.h	Mon Mar 19 20:27:28 2012 -0400
+++ b/src/physfs_platforms.h	Mon Mar 19 20:31:50 2012 -0400
@@ -38,6 +38,14 @@
 #  endif
 #elif defined(macintosh)
 #  error Classic Mac OS support was dropped from PhysicsFS 2.0. Move to OS X.
+#elif defined(__linux)
+#  define PHYSFS_PLATFORM_LINUX
+#  define PHYSFS_PLATFORM_UNIX
+#  define PHYSFS_PLATFORM_POSIX
+#elif defined(__sun) || defined(sun)
+#  define PHYSFS_PLATFORM_SOLARIS
+#  define PHYSFS_PLATFORM_UNIX
+#  define PHYSFS_PLATFORM_POSIX
 #elif defined(unix)
 #  define PHYSFS_PLATFORM_UNIX
 #  define PHYSFS_PLATFORM_POSIX