Add MAP_ANONYMOUS mapping to MAP_ANON for BSD build
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 29 Jun 2011 17:47:28 +0000 (13:47 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 29 Jun 2011 17:47:28 +0000 (13:47 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu-bp.c

index 203642cbede2b70c597875d3646f9a4e87027bf9..543a9f3ae01775b18008e4e2140513116bd2e781 100644 (file)
--- a/urcu-bp.c
+++ b/urcu-bp.c
 /* Do not #define _LGPL_SOURCE to ensure we can emit the wrapper symbols */
 #include "urcu-bp.h"
 
+#ifndef MAP_ANONYMOUS
+#define MAP_ANONYMOUS MAP_ANON
+#endif
+
 /* Sleep delay in us */
 #define RCU_SLEEP_DELAY                1000
 #define ARENA_INIT_ALLOC       16
This page took 0.02512 seconds and 4 git commands to generate.