mirror of
https://github.com/janet-lang/janet
synced 2025-11-13 05:47:14 +00:00
features.h: define _DARWIN_C_SOURCE for __APPLE__
This commit is contained in:
@@ -36,6 +36,10 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__APPLE__)
|
||||||
|
#define _DARWIN_C_SOURCE
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Needed for sched.h for cpu count */
|
/* Needed for sched.h for cpu count */
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
|
|||||||
Reference in New Issue
Block a user