mirror of
https://github.com/janet-lang/janet
synced 2025-07-20 10:52:54 +00:00
Need to enable __BSD_VISIBLE on DragonFly in conjunction with -std=c99
This commit is contained in:
parent
01aab66667
commit
8b16b9b246
@ -61,4 +61,9 @@
|
|||||||
#define _NETBSD_SOURCE
|
#define _NETBSD_SOURCE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Needed for several things when building with -std=c99. */
|
||||||
|
#if !__BSD_VISIBLE && defined(__DragonFly__)
|
||||||
|
#define __BSD_VISIBLE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user