Browse Source

Undef true and false first also for cJSON_Utils.c

pull/347/head
raiden00pl 6 years ago
parent
commit
359567fdde
  1. 7
      cJSON_Utils.c

7
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)

Loading…
Cancel
Save