Index: src/platform-cygwin.cc |
diff --git a/src/platform-cygwin.cc b/src/platform-cygwin.cc |
index 10525d934584608f8987a298cc9e6cfc5b82e290..8873150fb974b1c0a4897406642497e7ad6002a0 100644 |
--- a/src/platform-cygwin.cc |
+++ b/src/platform-cygwin.cc |
@@ -375,7 +375,7 @@ bool VirtualMemory::Guard(void* address) { |
if (NULL == VirtualAlloc(address, |
OS::CommitPageSize(), |
MEM_COMMIT, |
- PAGE_READONLY | PAGE_GUARD)) { |
+ PAGE_NOACCESS)) { |
return false; |
} |
return true; |