Fix 'un-mprotect failed' gctest error on Cygwin
authorIvan Maidanski <ivmai@mail.ru>
Wed, 10 Apr 2019 20:25:50 +0000 (23:25 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 10 Apr 2019 20:25:50 +0000 (23:25 +0300)
commitf39e7647ed47615a604869d86740914262d92ba6
treebf180db428d9c8a9b80b2b12ae191e290de4b1a6
parent560468d9bb10f7df3d436c730e8b121bd0feabf4
Fix 'un-mprotect failed' gctest error on Cygwin
(fix of commit fa7f7a72b)

Issue #272 (bdwgc).

* include/private/gcconfig.h [(I386 || X86_64) && CYGWIN32]
(MPROTECT_VDB): Do not define if USE_WINALLOC.
* os_dep.c [CYGWIN32 && MPROTECT_VDB] (GC_setpagesize): Set
GC_page_size to dwAllocationGranularity.
include/private/gcconfig.h
os_dep.c