Actually use ETL_USE_BUILTIN_MEM_FUNCTIONS to decide about macro definitions

This commit is contained in:
Roland Reichwein 2026-04-15 22:02:09 +02:00
parent 3e4d41ca57
commit caf693850c

View File

@ -60,7 +60,10 @@ SOFTWARE.
#if !defined(ETL_USING_BUILTIN_IS_CONSTANT_EVALUATED)
#define ETL_USING_BUILTIN_IS_CONSTANT_EVALUATED 1
#endif
#endif
#if defined(ETL_USE_BUILTIN_MEM_FUNCTIONS) // Set all of them to be true if not
// already defined
#if !defined(ETL_USING_BUILTIN_MEMCPY)
#define ETL_USING_BUILTIN_MEMCPY 1
#endif