allocator_thread.c: fix build on FreeBSD due to MAP_ANON

thx to @Low-power for testing
This commit is contained in:
rofl0r 2018-01-10 16:09:09 +00:00
parent b299193d13
commit 3366dc3131

View File

@ -1,7 +1,6 @@
#undef _GNU_SOURCE #undef _GNU_SOURCE
#define _GNU_SOURCE #define _GNU_SOURCE
#undef _POSIX_C_SOURCE #undef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 200809L
#define _DARWIN_C_SOURCE #define _DARWIN_C_SOURCE
#include <limits.h> #include <limits.h>
#include <pthread.h> #include <pthread.h>