Mercurial > hg > octave-nkf > gnulib-hg
changeset 17069:d639e9aa0198
* lib/stdbool.in.h (_Bool) [__cplusplus]: bool, not _Bool.
author | Paul Eggert <eggert@penguin.cs.ucla.edu> |
---|---|
date | Wed, 29 Aug 2012 17:43:04 -0700 |
parents | eefa36f75e14 |
children | 56a92ebec4a3 |
files | lib/stdbool.in.h |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/stdbool.in.h +++ b/lib/stdbool.in.h @@ -68,6 +68,7 @@ #ifdef __cplusplus # define _Bool bool +# define bool bool #else # if defined __BEOS__ && !defined __HAIKU__ /* A compiler known to have 'bool'. */ @@ -114,8 +115,8 @@ # endif # endif # endif +# define bool _Bool #endif -#define bool _Bool /* The other macros must be usable in preprocessor directives. */ #ifdef __cplusplus