summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2007-08-30 01:18:15 +0000
committerChristian Grothoff <christian@grothoff.org>2007-08-30 01:18:15 +0000
commit269a12fae548ba588b718710e181951018308d47 (patch)
tree17f808513ad1b813b6dea813aaf05b46a0b43c88
parent1d647758e4977c7aebddf893171ceb1bba5bef81 (diff)
OS X improvements
-rw-r--r--src/daemon/memorypool.c5
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 @@
#include "memorypool.h"
+// define MAP_ANONYMOUS for Mac OS X
+#if defined(MAP_ANON) && !defined(MAP_ANONYMOUS)
+#define MAP_ANONYMOUS MAP_ANON
+#endif
+
struct MemoryPool
{