Explorar o código

Debian/kFreeBSD should use the FreeBSD-specific codepaths, not generic Unix.

Ryan C. Gordon %!s(int64=8) %!d(string=hai) anos
pai
achega
187d04ae9e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/physfs_platforms.h

+ 1 - 1
src/physfs_platforms.h

@@ -50,7 +50,7 @@
 #  define PHYSFS_PLATFORM_SOLARIS 1
 #  define PHYSFS_PLATFORM_SOLARIS 1
 #  define PHYSFS_PLATFORM_UNIX 1
 #  define PHYSFS_PLATFORM_UNIX 1
 #  define PHYSFS_PLATFORM_POSIX 1
 #  define PHYSFS_PLATFORM_POSIX 1
-#elif defined(__FreeBSD__) || defined(__DragonFly__)
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__DragonFly__)
 #  define PHYSFS_PLATFORM_FREEBSD 1
 #  define PHYSFS_PLATFORM_FREEBSD 1
 #  define PHYSFS_PLATFORM_BSD 1
 #  define PHYSFS_PLATFORM_BSD 1
 #  define PHYSFS_PLATFORM_UNIX 1
 #  define PHYSFS_PLATFORM_UNIX 1