Skip to content

Commit

Permalink
allocator_thread.c: define _DARWIN_C_SOURCE so we get MAP_ANON
Browse files Browse the repository at this point in the history
  • Loading branch information
rofl0r committed Dec 21, 2017
1 parent 03880ce commit d28f4df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/allocator_thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#define _GNU_SOURCE
#undef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 200809L
#define _DARWIN_C_SOURCE
#include <limits.h>
#include <pthread.h>
#include <unistd.h>
Expand Down

0 comments on commit d28f4df

Please sign in to comment.