Fix overlapping addresses returned by mmap

This commit is contained in:
kd-11 2024-08-29 02:55:10 +03:00 committed by kd-11
parent 23788b04c6
commit ce9024efc5
2 changed files with 8 additions and 2 deletions

View file

@ -9,7 +9,7 @@
#include "util/v128.hpp"
#include "util/simd.hpp"
#if defined(__linux__) || defined(__APPLE__)
#ifdef __linux__
#include <unistd.h>
#define CAN_OVERCOMMIT
#endif