1 /* $OpenBSD: stdbool.h,v 1.5 2010/07/24 22:17:03 guenther Exp $ */
4 * Written by Marc Espie, September 25, 1999
8 #ifndef _COMPAT_STDBOOL_H_
9 #define _COMPAT_STDBOOL_H_
13 #if (defined(HAVE__BOOL) && HAVE__BOOL > 0) || defined(lint)
14 /* Support for _C99: type _Bool is already built-in. */
19 /* `_Bool' type must promote to `int' or `unsigned int'. */
25 /* And those constants must also be available as macros. */
31 /* User visible type `bool' is provided as a macro which may be redefined */
34 #else /* __cplusplus */
39 #endif /* __cplusplus */
41 /* Inform that everything is fine */
42 #define __bool_true_false_are_defined 1
44 #endif /* _COMPAT_STDBOOL_H_ */