Fix broken iOS build

This commit is contained in:
wheremyfoodat
2025-10-11 23:54:46 +03:00
committed by GitHub
parent 560d42414c
commit 3701fb6ca3

View File

@@ -18,7 +18,7 @@
#include "dynamic_library.hpp" #include "dynamic_library.hpp"
#elif defined(__linux__) || defined(__FreeBSD__) || defined(TARGET_OS_OSX) // ^^^ Windows ^^^ vvv Linux vvv #elif defined(__linux__) || defined(__FreeBSD__) || (defined(TARGET_OS_OSX) && TARGET_OS_OSX == 1) // ^^^ Windows ^^^ vvv Linux vvv
#ifndef __linux__ #ifndef __linux__
#define memfd_create(name, x) \ #define memfd_create(name, x) \
@@ -770,4 +770,4 @@ namespace Common {
} }
} }
} // namespace Common } // namespace Common