Debian/kFreeBSD should use the FreeBSD-specific codepaths, not generic Unix.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 12 Jul 2017 20:49:53 -0400
changeset 1451 06df328517f9
parent 1450 875a1d1d26d5
child 1452 9f32f6773924
Debian/kFreeBSD should use the FreeBSD-specific codepaths, not generic Unix.
src/physfs_platforms.h
--- a/src/physfs_platforms.h	Wed Jul 12 20:39:03 2017 -0400
+++ b/src/physfs_platforms.h	Wed Jul 12 20:49:53 2017 -0400
@@ -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