diff options
author | Thomas White <taw@physics.org> | 2015-06-23 18:20:28 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-06-23 18:20:28 +0200 |
commit | ecdec99762ffe6068fe9e048026ad32ecec63f5f (patch) | |
tree | e5fad232765a78aa334cfcd47d4a6007e0e179a6 /src/im-sandbox.c | |
parent | 06b84ba3b2c728ec74d80884afd5d394ecdad003 (diff) |
s/MAP_ANONYMOUS/MAP_ANON/
Needed for OSX compatability
Diffstat (limited to 'src/im-sandbox.c')
-rw-r--r-- | src/im-sandbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c index df50199c..bef1bf56 100644 --- a/src/im-sandbox.c +++ b/src/im-sandbox.c @@ -908,7 +908,7 @@ static int setup_shm(struct sandbox *sb) pthread_mutexattr_t attr; sb->shared = mmap(NULL, sizeof(struct sb_shm), PROT_READ | PROT_WRITE, - MAP_SHARED | MAP_ANONYMOUS, -1, 0); + MAP_SHARED | MAP_ANON, -1, 0); if ( sb->shared == MAP_FAILED ) { ERROR("SHM setup failed: %s\n", strerror(errno)); |