From e39c3b4b1d65e3593d0e74f799230d571e52d4fa Mon Sep 17 00:00:00 2001 From: Apple Date: Wed, 15 Aug 2018 19:38:39 +0000 Subject: [PATCH] libplatform-161.50.1.tar.gz --- include/libkern/OSAtomicDeprecated.h | 2 +- private/os/lock_private.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libkern/OSAtomicDeprecated.h b/include/libkern/OSAtomicDeprecated.h index 278e04e..aebf482 100644 --- a/include/libkern/OSAtomicDeprecated.h +++ b/include/libkern/OSAtomicDeprecated.h @@ -766,7 +766,7 @@ __END_DECLS #ifdef __cplusplus extern "C++" { -#if !(__has_include() && __has_feature(cxx_atomic)) +#if !(__has_include() && __has_extension(cxx_atomic)) #error Cannot use inlined OSAtomic without and C++11 atomics #endif #include diff --git a/private/os/lock_private.h b/private/os/lock_private.h index 00329e2..92fd61b 100644 --- a/private/os/lock_private.h +++ b/private/os/lock_private.h @@ -440,7 +440,7 @@ OS_ASSUME_NONNULL_END #ifdef __cplusplus extern "C++" { -#if !(__has_include() && __has_feature(cxx_atomic)) +#if !(__has_include() && __has_extension(cxx_atomic)) #error Cannot use inline os_unfair_lock without and C++11 atomics #endif #include -- 2.47.2