Fix broken iOS build
This commit is contained in:
4
third_party/host_memory/host_memory.cpp
vendored
4
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) \
|
||||||
@@ -770,4 +770,4 @@ namespace Common {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Common
|
} // namespace Common
|
||||||
|
|||||||
Reference in New Issue
Block a user