Fix build errors on the Debian kfreebsd port.
This commit is contained in:
parent
fb89307b0a
commit
65c2652a22
@ -26,7 +26,7 @@
|
|||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__DragonFly__) || (defined(__APPLE__) && defined(__MACH__))
|
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__DragonFly__) || (defined(__APPLE__) && defined(__MACH__)) || defined(__FreeBSD_kernel__)
|
||||||
#define BSD_LIKE
|
#define BSD_LIKE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -140,7 +140,7 @@
|
|||||||
#define OPSYS "MacOSX"
|
#define OPSYS "MacOSX"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__FreeBSD__)
|
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
||||||
#define OPSYS "FreeBSD"
|
#define OPSYS "FreeBSD"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user