提交 5a52eadd 编写于 作者: M Max Bruckner

Undef true and false first, fixes #339

Thanks  @raiden00pl for reporting
上级 c69134d0
......@@ -58,7 +58,14 @@
#include "cJSON.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)
typedef struct {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册