mirror of
https://github.com/Relintai/godot-mono-builds.git
synced 2024-11-14 10:27:25 +01:00
15 lines
675 B
Diff
15 lines
675 B
Diff
diff --git a/mono/utils/mono-log-darwin.c b/mono/utils/mono-log-darwin.c
|
|
index 3cb127bad59..30ff5edc307 100644
|
|
--- a/mono/utils/mono-log-darwin.c
|
|
+++ b/mono/utils/mono-log-darwin.c
|
|
@@ -5,7 +5,8 @@
|
|
*/
|
|
#include <config.h>
|
|
|
|
-#if defined(HOST_WATCHOS) && (__WATCH_OS_VERSION_MIN_REQUIRED >= __WATCHOS_3_0)
|
|
+#if (defined(HOST_WATCHOS) && (__WATCH_OS_VERSION_MIN_REQUIRED >= __WATCHOS_3_0)) \
|
|
+ || (defined(HOST_IOS) && (__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ >= 100000))
|
|
/* emitted by clang:
|
|
* > /Users/lewurm/work/mono-watch4/mono/utils/mono-log-darwin.c:35:2: error: 'asl_log' is \
|
|
* > deprecated: first deprecated in watchOS 3.0 - os_log(3) has replaced \
|