Define _DARWIN_C_SOURCE before includes on macOS
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
#define _LARGEFILE64_SOURCE 1
|
||||
#endif
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#ifdef __APPLE__
|
||||
#define _DARWIN_C_SOURCE 1
|
||||
#endif
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
|
||||
Reference in New Issue
Block a user