Mail Archives: djgpp-workers/2000/03/04/10:08:18
Here's the new ISO/IEC 9899:1999 (E) standard include file stdbool.h
for DJGPP. If it can be useful for other GNU projects please forward
it to them (perhaps Alain know whereto?).
If I have understood the standard correctly, "_Bool" is the boolean
type of the C language so this is something the compiler must supply.
Yes, The Ladder,
MartinS
----- include/stdbool.h starts. -----
/*
* File stdbool.h.
* According to the standard ISO/IEC 9899:1999 (E).
*
* Copyright (C) 2000 Martin Strömberg <ams AT ludd DOT luth DOT se>.
*
* This software may be used freely so long as this copyright notice is
* left intact. There is no warranty on this software.
*
*/
#define bool _Bool
#define true 1
#define false 0
#define __bool_true_false_are_defined 1
----- include/stdbool.h ends. -----
- Raw text -