mirror of
https://github.com/janet-lang/janet
synced 2025-01-12 16:40:27 +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
|
||||
#endif
|
||||
|
||||
/* Needed for several things when building with -std=c99. */
|
||||
#if !__BSD_VISIBLE && defined(__DragonFly__)
|
||||
#define __BSD_VISIBLE 1
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user