|
@@ -50,7 +50,14 @@
|
|
#include "cJSON_Utils.h"
|
|
#include "cJSON_Utils.h"
|
|
|
|
|
|
/* define our own boolean type */
|
|
/* define our own boolean type */
|
|
|
|
+#ifdef true
|
|
|
|
+#undef true
|
|
|
|
+#endif
|
|
#define true ((cJSON_bool)1)
|
|
#define true ((cJSON_bool)1)
|
|
|
|
+
|
|
|
|
+#ifdef false
|
|
|
|
+#undef false
|
|
|
|
+#endif
|
|
#define false ((cJSON_bool)0)
|
|
#define false ((cJSON_bool)0)
|
|
|
|
|
|
static unsigned char* cJSONUtils_strdup(const unsigned char* const string)
|
|
static unsigned char* cJSONUtils_strdup(const unsigned char* const string)
|