Initial changes to support Mac Catalyst (#44127)
authormonojenkins <jo.shields+jenkins@xamarin.com>
Tue, 10 Nov 2020 10:51:38 +0000 (05:51 -0500)
committerGitHub <noreply@github.com>
Tue, 10 Nov 2020 10:51:38 +0000 (11:51 +0100)
Co-authored-by: praeclarum <praeclarum@users.noreply.github.com>
src/mono/mono/utils/mono-log-darwin.c

index 3cb127b..2cb41b1 100644 (file)
@@ -5,7 +5,7 @@
  */
 #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_MACCAT)
 /* 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 \