Added Linux and Solaris tests.

This commit is contained in:
Ryan C. Gordon 2012-03-19 20:31:50 -04:00
parent bb6c5e468c
commit f49c122784
1 changed files with 8 additions and 0 deletions

View File

@ -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