Explorar el Código

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

Ryan C. Gordon hace 8 años
padre
commit
187d04ae9e
Se han modificado 1 ficheros con 1 adiciones y 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_UNIX 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_BSD 1
 #  define PHYSFS_PLATFORM_UNIX 1