X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=urcu-bp.c;h=543a9f3ae01775b18008e4e2140513116bd2e781;hb=4c1ae2ea760611f4d2b658b4e6b374f597c1c1f9;hp=203642cbede2b70c597875d3646f9a4e87027bf9;hpb=af7c2dbeac32c663b64ad05e4eca70e18784463b;p=urcu.git diff --git a/urcu-bp.c b/urcu-bp.c index 203642c..543a9f3 100644 --- a/urcu-bp.c +++ b/urcu-bp.c @@ -41,6 +41,10 @@ /* 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