aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixinc/inclhack.def
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2003-07-15 00:43:24 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2003-07-15 00:43:24 +0000
commitbf66f7b007c9e780f1ec665983545eb4df5b441a (patch)
tree5d8041f7737e251b8450f9ba14a6eb4388d6e09c /gcc/fixinc/inclhack.def
parentb9ce931dbea28e93eb92a56d1f344f75891ed11a (diff)
downloadgcc-bf66f7b007c9e780f1ec665983545eb4df5b441a.zip
gcc-bf66f7b007c9e780f1ec665983545eb4df5b441a.tar.gz
gcc-bf66f7b007c9e780f1ec665983545eb4df5b441a.tar.bz2
inclhack.def (avoid_bool_define, [...]): Bypass with __cplusplus, not "we must use the C++ compiler's type"
* fixinc/inclhack.def (avoid_bool_define, avoid_bool_type): Bypass with __cplusplus, not "we must use the C++ compiler's type" * fixinc/inclhack.def (void_null): Note that Interix needs this. * fixinc/fixincl.x: Regenerate. From-SVN: r69373
Diffstat (limited to 'gcc/fixinc/inclhack.def')
-rw-r--r--gcc/fixinc/inclhack.def6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def
index ae0ddcb..63f5ce0 100644
--- a/gcc/fixinc/inclhack.def
+++ b/gcc/fixinc/inclhack.def
@@ -604,7 +604,7 @@ fix = {
files = tinfo.h;
select = "#[ \t]*define[ \t]+bool[ \t]";
- bypass = "we must use the C\\+\\+ compiler's type";
+ bypass = "__cplusplus";
c_fix = format;
c_fix_arg = "#ifndef __cplusplus\n%0\n#endif";
@@ -622,7 +622,7 @@ fix = {
files = tinfo.h;
select = "^[ \t]*typedef[ \t].*[ \t]bool[ \t]*;";
- bypass = "we must use the C\\+\\+ compiler's type";
+ bypass = "__cplusplus";
c_fix = format;
c_fix_arg = "#ifndef __cplusplus\n%0\n#endif";
@@ -3362,7 +3362,7 @@ fix = {
/*
- * AIX headers define NULL to be cast to a void pointer,
+ * AIX and Interix headers define NULL to be cast to a void pointer,
* which is illegal in ANSI C++.
*/
fix = {