Fix FreeBSD support for rculfhash mmap
authorDavid Goulet <dgoulet@efficios.com>
Tue, 21 Feb 2012 18:12:20 +0000 (13:12 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 21 Feb 2012 18:17:08 +0000 (13:17 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/hashtable/rculfhash-mm-mmap.c

index 4554ed6007f20df68bfac3f2fe74a5a9e39c55fc..b136e1ae0eb73b46d2035cf2bbd9e470f96861d3 100644 (file)
 #include <sys/mman.h>
 #include "rculfhash-internal.h"
 
+#ifndef MAP_ANONYMOUS
+#define MAP_ANONYMOUS MAP_ANON
+#endif
+
 /* reserve inaccessible memory space without allocation any memory */
 static void *memory_map(size_t length)
 {
This page took 0.025796 seconds and 4 git commands to generate.