提交 359567fd 编写于 作者: R raiden00pl

Undef true and false first also for cJSON_Utils.c

上级 0b5a7abf
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册