Enable mmap on iOS (#8100)

This commit is contained in:
Ben Doherty
2024-09-03 09:58:13 -07:00
committed by GitHub
parent 2b620e65fd
commit 16bed4de00

View File

@@ -24,7 +24,7 @@
#include <utils/debug.h>
#include <utils/ostream.h>
#if !defined(WIN32) && !defined(__EMSCRIPTEN__) && !defined(IOS)
#if !defined(WIN32) && !defined(__EMSCRIPTEN__)
# include <sys/mman.h>
# include <unistd.h>
# define HAS_MMAP 1