From 359567fdde253f311545a6c80b0fa6fb62e8ff09 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Sun, 28 Apr 2019 10:33:44 +0200 Subject: [PATCH] Undef true and false first also for cJSON_Utils.c --- cJSON_Utils.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cJSON_Utils.c b/cJSON_Utils.c index 9d07fac..7df4db2 100644 --- a/cJSON_Utils.c +++ b/cJSON_Utils.c @@ -50,7 +50,14 @@ #include "cJSON_Utils.h" /* define our own boolean type */ +#ifdef true +#undef true +#endif #define true ((cJSON_bool)1) + +#ifdef false +#undef false +#endif #define false ((cJSON_bool)0) static unsigned char* cJSONUtils_strdup(const unsigned char* const string)