2020-03-11 01:23:59 +01:00
|
|
|
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>
|
|
|
|
|
2020-10-20 08:48:55 +02:00
|
|
|
-#if (defined(HOST_WATCHOS) && (__WATCH_OS_VERSION_MIN_REQUIRED >= __WATCHOS_3_0)) || defined(HOST_MACCAT)
|
|
|
|
+#if (defined(HOST_WATCHOS) && (__WATCH_OS_VERSION_MIN_REQUIRED >= __WATCHOS_3_0)) || defined(HOST_MACCAT) \
|
2020-03-11 01:23:59 +01:00
|
|
|
+ || (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 \
|