mirror of
https://github.com/janet-lang/janet
synced 2024-11-24 17:27:18 +00:00
features.h: define _DARWIN_C_SOURCE for __APPLE__
This commit is contained in:
parent
ab8c5a0b5f
commit
2a6c615bec
@ -36,6 +36,10 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__)
|
||||
#define _DARWIN_C_SOURCE
|
||||
#endif
|
||||
|
||||
/* Needed for sched.h for cpu count */
|
||||
#ifdef __linux__
|
||||
#define _GNU_SOURCE
|
||||
|
Loading…
Reference in New Issue
Block a user