projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mbsstr: port --enable-gcc-warnings to clang
[gnulib.git]
/
lib
/
stdbool.in.h
diff --git
a/lib/stdbool.in.h
b/lib/stdbool.in.h
index
924c8ff
..
0c871ec
100644
(file)
--- a/
lib/stdbool.in.h
+++ b/
lib/stdbool.in.h
@@
-1,4
+1,4
@@
-/* Copyright (C) 2001-2003, 2006-201
2
Free Software Foundation, Inc.
+/* Copyright (C) 2001-2003, 2006-201
3
Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
Written by Bruno Haible <haible@clisp.cons.org>, 2001.
This program is free software; you can redistribute it and/or modify
@@
-68,6
+68,7
@@
#ifdef __cplusplus
# define _Bool bool
#ifdef __cplusplus
# define _Bool bool
+# define bool bool
#else
# if defined __BEOS__ && !defined __HAIKU__
/* A compiler known to have 'bool'. */
#else
# if defined __BEOS__ && !defined __HAIKU__
/* A compiler known to have 'bool'. */
@@
-114,8
+115,8
@@
typedef enum { _Bool_must_promote_to_int = -1, false = 0, true = 1 } _Bool;
# endif
# endif
# endif
# endif
# endif
# endif
+# define bool _Bool
#endif
#endif
-#define bool _Bool
/* The other macros must be usable in preprocessor directives. */
#ifdef __cplusplus
/* The other macros must be usable in preprocessor directives. */
#ifdef __cplusplus