Skip to content

Feature request: Use stdbool.h or C23 predefined constants #127

Open
@schwehr

Description

@schwehr

It would be nice if we could remove some of the custom defines in cpl_serv.h. First up might be FALSE/TRUE:

#ifndef FALSE
# define FALSE 0
#endif
#ifndef TRUE
# define TRUE 1
#endif

Can we assume at least C99 for libgeotiff?

I think we can also remove NULL:

#ifndef NULL
#define NULL 0
#endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions