Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redefined true and false #339

Closed
raiden00pl opened this issue Mar 13, 2019 · 1 comment
Closed

Redefined true and false #339

raiden00pl opened this issue Mar 13, 2019 · 1 comment

Comments

@raiden00pl
Copy link
Contributor

Hi, can you add simple #undef true and #undef false before boolean type definitions in cJSON.c and cJSON_Utils.c ? Without this you get warnings about redefined definitions if some of your custom libc headers include stdbool.h (in my case it is stdio.h -> sched.h -> stdbool.h)

@FSMaxB
Copy link
Collaborator

FSMaxB commented Apr 12, 2019

Will do!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants