From 128724d147a0079952275e1bbce48a7e2a0522ab Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Fri, 2 Apr 2021 13:38:23 +0200 Subject: Implemented a workaround for mmap64 with MAP_32BIT flag --- src/include/custommem.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/include') diff --git a/src/include/custommem.h b/src/include/custommem.h index c1de067f..551063d1 100644 --- a/src/include/custommem.h +++ b/src/include/custommem.h @@ -45,6 +45,9 @@ void unprotectDB(uintptr_t addr, uintptr_t size); void lockDB(); void unlockDB(); #endif +#ifndef NOALIGN +void* find32bitBlock(size_t size); +#endif void init_custommem_helper(box64context_t* ctx); -- cgit 1.4.1