From f49c12278489aba7eb65075d0b4e0c33a5006713 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 19 Mar 2012 20:31:50 -0400 Subject: [PATCH] Added Linux and Solaris tests. --- src/physfs_platforms.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/physfs_platforms.h b/src/physfs_platforms.h index 9f3d98e7..410d0676 100644 --- a/src/physfs_platforms.h +++ b/src/physfs_platforms.h @@ -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