diff --git a/include/etl/platform.h b/include/etl/platform.h index 0dbbb80f..248a19f4 100644 --- a/include/etl/platform.h +++ b/include/etl/platform.h @@ -478,6 +478,7 @@ SOFTWARE. defined(ETL_TARGET_DEVICE_ARM_CORTEX_M0_PLUS) || \ defined(__STDC_NO_ATOMICS__) #define ETL_HAS_ATOMIC 0 + #define ETL_HAS_ATOMIC_ALWAYS_LOCK_FREE 0 #else #if ((ETL_USING_CPP11 && (ETL_USING_STL || defined(ETL_IN_UNIT_TEST))) || \ defined(ETL_COMPILER_ARM5) || \ diff --git a/include/etl/profiles/determine_compiler_language_support.h b/include/etl/profiles/determine_compiler_language_support.h index c8aa5ede..322cee87 100644 --- a/include/etl/profiles/determine_compiler_language_support.h +++ b/include/etl/profiles/determine_compiler_language_support.h @@ -219,7 +219,7 @@ SOFTWARE. #endif #if defined(__has_include) - #if !__has_include() + #if __has_include() #include #if defined(__cpp_lib_byteswap)