mirror of
https://github.com/ETLCPP/etl.git
synced 2026-11-09 14:49:53 +08:00
hotfix #1154-etl-20.42.2-not-compiling-with-IAR-Arm-compiler-v9.20
This commit is contained in:
parent
5df08645da
commit
b77698810f
@ -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) || \
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user