Fix Mac compilation

pull/5/head
SChernykh 2021-08-25 18:16:26 +02:00
parent fa3146a8f3
commit 276cc5f0fd
1 changed files with 1 additions and 1 deletions

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>