mirror of
https://github.com/janet-lang/janet
synced 2025-08-29 17:08:03 +00:00
features.h: define _DARWIN_C_SOURCE for __APPLE__
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user