diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-11-03 16:31:17 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-11-03 17:16:59 +0100 |
commit | 76aa43c9c4b9339fafae1b987da29d21d846a7e1 (patch) | |
tree | 9a26edde006e77059e35f506931d2bad4dd07fa3 /compat | |
parent | 9e145b2b92d0f2d8b76599608746bb377af6bd91 (diff) |
really fix mac this time
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
Diffstat (limited to 'compat')
-rw-r--r-- | compat/compat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/compat.cpp b/compat/compat.cpp index 8ac872d1..bcdbd17f 100644 --- a/compat/compat.cpp +++ b/compat/compat.cpp @@ -59,7 +59,7 @@ PortableLockedShm::PortableLockedShm(const char *shmName, const char* /*mutexNam fprintf(stderr, "oh, bother, ftruncate: %s\n", strerror(errno)); //mem = (void*) -1; } - mem = mmap(NULL, mapSize, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANON, fd, (off_t)0); + mem = mmap(NULL, mapSize, PROT_READ|PROT_WRITE, MAP_SHARED, fd, (off_t)0); } PortableLockedShm::~PortableLockedShm() |