#594 Use a different workaround for problems with IARCC.

This commit is contained in:
John Wellbelove 2022-09-07 12:38:30 +01:00
parent 63e31068b7
commit d2e8e0aa71
2 changed files with 6 additions and 1 deletions

View File

@ -37,7 +37,11 @@ SOFTWARE.
// Figure out if we can use the standard library <new> header, if haven't already done so in etl_profile.h
#if !defined(ETL_USING_STD_NEW)
#if defined(__has_include)
#define ETL_USING_STD_NEW __has_include("new")
#if __has_include(<new>)
#define ETL_USING_STD_NEW 1
#else
#define ETL_USING_STD_NEW 0
#endif
#elif (defined(ARDUINO) && defined(__AVR__))
#define ETL_USING_STD_NEW 0
#else

View File

@ -12,6 +12,7 @@ Fixed unordered container equality tests to match STL
#583 Permit non-default-constructable hashes and key-equals
#589 Add minmax_push.h/minmax_pop.h includes
#584 unordered_set::const_iterator has incorrect value_type
#593 Workaround for __has_include(<...>) and ICCAVR
===============================================================================
20.33.0