From da58dfe018ebf84f2856250fd7d71af4e8f376be Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Tue, 17 May 2022 10:42:31 +0100 Subject: [PATCH] Added conditional compilation directive for existence 8 bit types --- include/etl/hash.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/etl/hash.h b/include/etl/hash.h index 0c0385e1..5af439c7 100644 --- a/include/etl/hash.h +++ b/include/etl/hash.h @@ -36,6 +36,8 @@ SOFTWARE. #include "platform.h" +#if ETL_USING_8BIT_TYPES + // The default hash calculation. #include "fnv_1.h" #include "type_traits.h" @@ -436,4 +438,6 @@ namespace etl }; } +#endif ETL_USING_8BIT_TYPES + #endif