diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/custommem.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/custommem.c b/src/custommem.c index fb55ac2c..a5f4cf61 100644 --- a/src/custommem.c +++ b/src/custommem.c @@ -1631,7 +1631,11 @@ static void atfork_child_custommem(void) void reserveHighMem() { char* p = getenv("BOX64_RESERVE_HIGH"); + #ifdef ADLINK + if(p && p[0]=='0') + #else if(!p || p[0]=='0') + #endif return; // don't reserve by default intptr_t cur = 1LL<<47; mapmem_t* m = mapmem; |