diff options
author | Christian Grothoff <christian@grothoff.org> | 2007-08-30 01:18:15 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2007-08-30 01:18:15 +0000 |
commit | 269a12fae548ba588b718710e181951018308d47 (patch) | |
tree | 17f808513ad1b813b6dea813aaf05b46a0b43c88 | |
parent | 1d647758e4977c7aebddf893171ceb1bba5bef81 (diff) | |
download | libmicrohttpd-269a12fae548ba588b718710e181951018308d47.tar.gz libmicrohttpd-269a12fae548ba588b718710e181951018308d47.zip |
OS X improvements
-rw-r--r-- | src/daemon/memorypool.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/daemon/memorypool.c b/src/daemon/memorypool.c index fa0b4d6b..4a183bcb 100644 --- a/src/daemon/memorypool.c +++ b/src/daemon/memorypool.c | |||
@@ -25,6 +25,11 @@ | |||
25 | 25 | ||
26 | #include "memorypool.h" | 26 | #include "memorypool.h" |
27 | 27 | ||
28 | // define MAP_ANONYMOUS for Mac OS X | ||
29 | #if defined(MAP_ANON) && !defined(MAP_ANONYMOUS) | ||
30 | #define MAP_ANONYMOUS MAP_ANON | ||
31 | #endif | ||
32 | |||
28 | struct MemoryPool | 33 | struct MemoryPool |
29 | { | 34 | { |
30 | 35 | ||