Fix Mac compilation

This commit is contained in:
SChernykh 2021-08-25 18:16:26 +02:00
parent fa3146a8f3
commit 276cc5f0fd

View file

@ -67,7 +67,7 @@
#endif
#include <Windows.h>
#elif defined(__linux__) || defined(__unix__) || defined(_POSIX_VERSION)
#elif defined(__linux__) || defined(__unix__) || defined(_POSIX_VERSION) || defined(__MACH__)
#include <unistd.h>
#include <sys/mman.h>