Skip to content
This repository
Browse code

Fix build on GNU/kFreeBSD.

On GNU/kFreeBSD only "__FreeBSD_kernel__" is defined
but not "__FreeBSD__".
  • Loading branch information...
commit ee50ab5beaae57da0bc1173878d0582801cc0823 1 parent 40330fd
Felix Geyer authored June 06, 2011 oy committed June 09, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  src/base/detect.h
2  src/base/detect.h
@@ -25,7 +25,7 @@
25 25
 #endif
26 26
 
27 27
 /* unix family */
28  
-#if defined(__FreeBSD__)
  28
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
29 29
 	#define CONF_FAMILY_UNIX 1
30 30
 	#define CONF_FAMILY_STRING "unix"
31 31
 	#define CONF_PLATFORM_FREEBSD 1

0 notes on commit ee50ab5

Please sign in to comment.
Something went wrong with that request. Please try again.