mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix build on GNU/kFreeBSD.
On GNU/kFreeBSD only "__FreeBSD_kernel__" is defined but not "__FreeBSD__".
This commit is contained in:
parent
40330fd7c5
commit
ee50ab5bea
|
@ -25,7 +25,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* unix family */
|
/* unix family */
|
||||||
#if defined(__FreeBSD__)
|
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
||||||
#define CONF_FAMILY_UNIX 1
|
#define CONF_FAMILY_UNIX 1
|
||||||
#define CONF_FAMILY_STRING "unix"
|
#define CONF_FAMILY_STRING "unix"
|
||||||
#define CONF_PLATFORM_FREEBSD 1
|
#define CONF_PLATFORM_FREEBSD 1
|
||||||
|
|
Loading…
Reference in a new issue