summaryrefslogtreecommitdiffhomepage
path: root/compat/compat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/compat.cpp')
-rw-r--r--compat/compat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/compat.cpp b/compat/compat.cpp
index 2263ea11..8eedc845 100644
--- a/compat/compat.cpp
+++ b/compat/compat.cpp
@@ -20,7 +20,7 @@ PortableLockedShm::PortableLockedShm(const char* shmName, const char* mutexName,
mapSize,
shmName);
mem = MapViewOfFile(hMapFile,
- FILE_MAP_READ | FILE_MAP_WRITE,
+ FILE_MAP_WRITE,
0,
0,
mapSize);