diff --git a/cJSON_Utils.c b/cJSON_Utils.c index 50463286d9dbcedc322660de39140e131579f664..ad2805c80ab16f4e15c4894fc39aa55f70bc8c46 100644 --- a/cJSON_Utils.c +++ b/cJSON_Utils.c @@ -30,6 +30,10 @@ #include "cJSON_Utils.h" +/* define our own boolean type */ +#define true ((cJSON_bool)1) +#define false ((cJSON_bool)0) + static unsigned char* cJSONUtils_strdup(const unsigned char* const string) { size_t length = 0;