Fix broken iOS build
This commit is contained in:
2
third_party/host_memory/host_memory.cpp
vendored
2
third_party/host_memory/host_memory.cpp
vendored
@@ -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) \
|
||||||
|
|||||||
Reference in New Issue
Block a user