From 4b217bca974e9318aaf2b8d80ccaf1a9a23b2b07 Mon Sep 17 00:00:00 2001 From: slvr Date: Fri, 9 Aug 2013 16:42:47 +0100 Subject: Macports support (OS X only). MAP_ANON -> MAP_ANONYMOUS (OS X only). --- auto_tests/friends_test.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'auto_tests/friends_test.c') diff --git a/auto_tests/friends_test.c b/auto_tests/friends_test.c index 6c7569be..0ba42b61 100755 --- a/auto_tests/friends_test.c +++ b/auto_tests/friends_test.c @@ -29,6 +29,10 @@ #define WAIT_COUNT 30 #define WAIT_TIME 500 +#ifndef MAP_ANONYMOUS +#define MAP_ANONYMOUS MAP_ANON +#endif + /* first step, second step */ #define FIRST_FLAG 0x1 #define SECOND_FLAG 0x2 -- cgit v1.2.3