Browse Source

Added Linux and Solaris tests.

Ryan C. Gordon 14 years ago
parent
commit
f49c122784
1 changed files with 8 additions and 0 deletions
  1. 8 0
      src/physfs_platforms.h

+ 8 - 0
src/physfs_platforms.h

@@ -38,6 +38,14 @@
 #  endif
 #  endif
 #elif defined(macintosh)
 #elif defined(macintosh)
 #  error Classic Mac OS support was dropped from PhysicsFS 2.0. Move to OS X.
 #  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)
 #elif defined(unix)
 #  define PHYSFS_PLATFORM_UNIX
 #  define PHYSFS_PLATFORM_UNIX
 #  define PHYSFS_PLATFORM_POSIX
 #  define PHYSFS_PLATFORM_POSIX