From dd6e200fb3c7acfd64ab9fb14d58447f0e04bd4b Mon Sep 17 00:00:00 2001 From: Aleksey Kliger Date: Thu, 9 Sep 2021 12:14:35 -0400 Subject: [PATCH] Allow uses of pthread_condattr_setclock on Apple and Android For Android, it seems like this was broken prior to NDK r21, but we require r21 as a minimum now. For ios it was not available prior to ios 10, which is also our minimumm now. --- src/mono/mono/utils/mono-os-mutex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mono/mono/utils/mono-os-mutex.h b/src/mono/mono/utils/mono-os-mutex.h index 904974b0a08331..6dc7ea057ae15b 100644 --- a/src/mono/mono/utils/mono-os-mutex.h +++ b/src/mono/mono/utils/mono-os-mutex.h @@ -36,7 +36,7 @@ #if !defined(HOST_WIN32) -#if !defined(CLOCK_MONOTONIC) || defined(HOST_DARWIN) || defined(HOST_ANDROID) || defined(HOST_WASM) +#if !defined(CLOCK_MONOTONIC) || defined(HOST_WASM) #define BROKEN_CLOCK_SOURCE #endif