diff options
author | slvr <slvr@unsafeio.com> | 2013-08-09 16:42:47 +0100 |
---|---|---|
committer | slvr <slvr@unsafeio.com> | 2013-08-09 16:47:16 +0100 |
commit | 4b217bca974e9318aaf2b8d80ccaf1a9a23b2b07 (patch) | |
tree | d324a07283324e43e73325c243d3cfdde3ff424a /auto_tests/friends_test.c | |
parent | 8542b5bac85ec068deac239d46954fa010128cd0 (diff) |
Macports support (OS X only). MAP_ANON -> MAP_ANONYMOUS (OS X only).
Diffstat (limited to 'auto_tests/friends_test.c')
-rwxr-xr-x | auto_tests/friends_test.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ | |||
29 | #define WAIT_COUNT 30 | 29 | #define WAIT_COUNT 30 |
30 | #define WAIT_TIME 500 | 30 | #define WAIT_TIME 500 |
31 | 31 | ||
32 | #ifndef MAP_ANONYMOUS | ||
33 | #define MAP_ANONYMOUS MAP_ANON | ||
34 | #endif | ||
35 | |||
32 | /* first step, second step */ | 36 | /* first step, second step */ |
33 | #define FIRST_FLAG 0x1 | 37 | #define FIRST_FLAG 0x1 |
34 | #define SECOND_FLAG 0x2 | 38 | #define SECOND_FLAG 0x2 |