Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix build on GNU/kFreeBSD.

On GNU/kFreeBSD only "__FreeBSD_kernel__" is defined
but not "__FreeBSD__".
  • Loading branch information...
commit ee50ab5beaae57da0bc1173878d0582801cc0823 1 parent 40330fd
@debfx debfx authored oy committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/base/detect.h
View
2  src/base/detect.h
@@ -25,7 +25,7 @@
#endif
/* unix family */
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
#define CONF_FAMILY_UNIX 1
#define CONF_FAMILY_STRING "unix"
#define CONF_PLATFORM_FREEBSD 1
Please sign in to comment.
Something went wrong with that request. Please try again.