diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2021-09-04 15:15:21 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2021-09-04 15:15:21 +0300 |
commit | 21b9a5489eac71100f552b0891854ae0ba052bbc (patch) | |
tree | e26aadf4ca38c1aaddf372ab2006e87d0587356b /include | |
parent | 92555089ea7302196ab82345784aa1215a27c2dd (diff) | |
download | bdwgc-21b9a5489eac71100f552b0891854ae0ba052bbc.tar.gz |
Allow to disable GWW or mprotect-based VDB at build
* include/private/gcconfig.h [NO_GWW_VDB] (GWW_VDB): Undefine.
* include/private/gcconfig.h [NO_MPROTECT_VDB] (MPROTECT_VDB):
Likewise.
Diffstat (limited to 'include')
-rw-r--r-- | include/private/gcconfig.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h index 70668751..90fb9b04 100644 --- a/include/private/gcconfig.h +++ b/include/private/gcconfig.h @@ -2788,6 +2788,14 @@ EXTERN_C_BEGIN # undef SOFT_VDB #endif +#ifdef NO_GWW_VDB +# undef GWW_VDB +#endif + +#ifdef NO_MPROTECT_VDB +# undef MPROTECT_VDB +#endif + #ifdef GC_DISABLE_INCREMENTAL # undef CHECKSUMS #endif |