diff options
Diffstat (limited to 'tests/allocator.cpp')
-rw-r--r-- | tests/allocator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/allocator.cpp b/tests/allocator.cpp index e5c634c..3db390e 100644 --- a/tests/allocator.cpp +++ b/tests/allocator.cpp @@ -74,7 +74,7 @@ namespace VirtualProtect(rptr, aligned_size + page_size, PAGE_NOACCESS, &old_flags); } } -#elif (defined(__APPLE__) || defined(__linux__)) && !ADDRESS_SANITIZER +#elif (defined(__APPLE__) || defined(__linux__)) && (defined(__i386) || defined(__x86_64)) && !ADDRESS_SANITIZER # include <sys/mman.h> namespace |