X-Git-Url: https://git.saurik.com/apple/libplatform.git/blobdiff_plain/ada7c4921d100a297d3be70d24c7fe9f43330c12..fedab5849c4fa8fc34212be16743dbfae89c71e4:/include/libkern/OSAtomicDeprecated.h?ds=sidebyside 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