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"
#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__
#define memfd_create(name, x) \