src/physfs_platforms.h
changeset 1233 53a01072f272
parent 1197 65f35dc8f84c
child 1235 2ed0567fe413
--- 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