hotfix #1154-etl-20.42.2-not-compiling-with-IAR-Arm-compiler-v9.20

This commit is contained in:
John Wellbelove 2025-07-24 15:40:10 +01:00
parent 5df08645da
commit b77698810f
2 changed files with 2 additions and 1 deletions

View File

@ -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) || \

View File

@ -219,7 +219,7 @@ SOFTWARE.
#endif
#if defined(__has_include)
#if !__has_include(<version>)
#if __has_include(<version>)
#include <version>
#if defined(__cpp_lib_byteswap)