stdbool.h, again

Niall Smart njs3@doc.ic.ac.uk
Sat May 30 02:40:00 GMT 1998


On May 29,  2:36pm, Ulrich Drepper wrote:
} Subject: stdbool.h, again
> Hi,
> 
> Could we please have stdbool.h added now?  ISO C 9x demands this
> header for freestanding implementations.  Below is a patch to
> gcc/Makefile.in and at the end the little file itself.
> 
> /* The names `true' and `false' must also be made available as macros.  */
> #define false	false
> #define true	true

Is this correct?

#define true 1
#define false 0

No?

Niall



More information about the Gcc-bugs mailing list