From: monojenkins Date: Tue, 10 Nov 2020 10:51:38 +0000 (-0500) Subject: Initial changes to support Mac Catalyst (#44127) X-Git-Tag: submit/tizen/20210909.063632~4694 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b45a5a504bd6468a0dc7fcbc9ba3f6f574fc68c1;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Initial changes to support Mac Catalyst (#44127) Co-authored-by: praeclarum --- diff --git a/src/mono/mono/utils/mono-log-darwin.c b/src/mono/mono/utils/mono-log-darwin.c index 3cb127b..2cb41b1 100644 --- a/src/mono/mono/utils/mono-log-darwin.c +++ b/src/mono/mono/utils/mono-log-darwin.c @@ -5,7 +5,7 @@ */ #include -#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 \