src/physfs_platforms.h
changeset 1295 02a34500bb1c
parent 1291 854cdfefdf12
child 1313 8f95fc8eea0c
--- a/src/physfs_platforms.h	Mon Jun 25 15:50:20 2012 -0400
+++ b/src/physfs_platforms.h	Thu Aug 02 03:03:06 2012 -0400
@@ -43,11 +43,11 @@
 #  define PHYSFS_PLATFORM_SOLARIS 1
 #  define PHYSFS_PLATFORM_UNIX 1
 #  define PHYSFS_PLATFORM_POSIX 1
-#elif defined(BSD)
+#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__DragonFly__)
 #  define PHYSFS_PLATFORM_BSD 1
 #  define PHYSFS_PLATFORM_UNIX 1
 #  define PHYSFS_PLATFORM_POSIX 1
-#elif defined(unix)
+#elif defined(unix) || defined(__unix__)
 #  define PHYSFS_PLATFORM_UNIX 1
 #  define PHYSFS_PLATFORM_POSIX 1
 #else