cJSON

mirror of Dave's cJSON
git clone git://git.thc420.xyz/cJSON
Log | Files | Refs | README | LICENSE

commit 62bc2e3432d097d87872df5e88e17143f264629a
parent 0b5a7abf489e52d0e20a3de03bfffd674142b900
Author: Max Bruckner <max@maxbruckner.de>
Date:   Sun, 28 Apr 2019 13:31:46 +0200

Merge pull request #347 from raiden00pl/master

Undef true and false first also for cJSON_Utils.c
Diffstat:
McJSON_Utils.c | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/cJSON_Utils.c b/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)