diff --git Source/ThirdParty/ANGLE/src/common/debug.cpp Source/ThirdParty/ANGLE/src/common/debug.cpp index c26815d3..b07914be 100644 --- Source/ThirdParty/ANGLE/src/common/debug.cpp +++ Source/ThirdParty/ANGLE/src/common/debug.cpp @@ -21,7 +21,7 @@ # include #endif -#if defined(ANGLE_PLATFORM_APPLE) +#if defined(ANGLE_PLATFORM_APPLE) && MAC_OS_X_VERSION_MAX_ALLOWED > 101200 # include #endif @@ -232,7 +232,7 @@ void Trace(LogSeverity severity, const char *message) } __android_log_print(android_priority, "ANGLE", "%s: %s\n", LogSeverityName(severity), str.c_str()); -#elif defined(ANGLE_PLATFORM_APPLE) +#elif defined(ANGLE_PLATFORM_APPLE) && MAC_OS_X_VERSION_MAX_ALLOWED > 101200 if (__builtin_available(macOS 10.12, iOS 10.0, *)) { os_log_type_t apple_log_type = OS_LOG_TYPE_DEFAULT;