Skip to content

Redefined true and false #339

@raiden00pl

Description

@raiden00pl

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)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions