diff options
| author | Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org> | 2001-02-06 23:39:06 +0000 |
|---|---|---|
| committer | Jeroen Ruigrok van der Werven <asmodai@FreeBSD.org> | 2001-02-06 23:39:06 +0000 |
| commit | 57288446633c2f06bb909d5e5c92ba8d57239fa0 (patch) | |
| tree | 85600882f854e6c09665385f8ec7947d0e11575e | |
| parent | 525c3eb1cf9e4f56b14e02a9c3ff70c3b474b8db (diff) | |
Notes
| -rw-r--r-- | include/stdbool.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/include/stdbool.h b/include/stdbool.h index 474ac9cdcfd6..84c7fa58e6cf 100644 --- a/include/stdbool.h +++ b/include/stdbool.h @@ -26,21 +26,18 @@ * $FreeBSD$ */ -/* This should be compliant with the ANSI C99 definition */ - -#ifndef _STDBOOL_H_ +#ifndef _STDBOOL_H_ #define _STDBOOL_H_ -#define __bool_true_false_are_defined 1 +#define __bool_true_false_are_defined 1 /* And those constants must also be available as macros */ #define false 0 #define true 1 -/* User visible type `bool' is provided as a macro which may be redefined */ -#define bool _Bool +#define bool _Bool #if __STDC_VERSION__ < 199901L -typedef int _Bool; /* not built into pre-C99 compilers */ +typedef int _Bool; #endif -#endif /* _STDBOOL_H_ */ +#endif /* !_STDBOOL_H_ */ |
