From ae90e07d594f57bef906ce640dad4f50025aabd0 Mon Sep 17 00:00:00 2001 From: Th3maz1ng Date: Sun, 25 Jul 2021 18:26:08 +0200 Subject: [PATCH] Added conditional macro to include some headers only when needed --- src/app/Dictionary.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app/Dictionary.h b/src/app/Dictionary.h index 06d87c1..63566ef 100644 --- a/src/app/Dictionary.h +++ b/src/app/Dictionary.h @@ -4,7 +4,12 @@ #include #include #include -#include + +#ifdef ARDUINO + #include +#else + typedef bool boolean; +#endif //ARDUINO template class Dictionary;