aboutsummaryrefslogtreecommitdiff
path: root/fixincludes/inclhack.def
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2004-11-12 22:26:01 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2004-11-12 22:26:01 +0000
commit492d5b4f621dc2e801cbc56d5f5a885149c8b3a9 (patch)
tree75259ed4b76896c8abbf377309fc66da18fdc110 /fixincludes/inclhack.def
parentbf0fdfdd54137ac3b05572176ca54934f102cd77 (diff)
downloadgcc-492d5b4f621dc2e801cbc56d5f5a885149c8b3a9.zip
gcc-492d5b4f621dc2e801cbc56d5f5a885149c8b3a9.tar.gz
gcc-492d5b4f621dc2e801cbc56d5f5a885149c8b3a9.tar.bz2
inclhack.def (sco_math): Bypass on __GNUG__.
* inclhack.def (sco_math): Bypass on __GNUG__. (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES. * fixincl.x: Regenerate. From-SVN: r90550
Diffstat (limited to 'fixincludes/inclhack.def')
-rw-r--r--fixincludes/inclhack.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/fixincludes/inclhack.def b/fixincludes/inclhack.def
index 9dcb123..a36f4d3 100644
--- a/fixincludes/inclhack.def
+++ b/fixincludes/inclhack.def
@@ -2431,6 +2431,7 @@ fix = {
files = ods_30_compat/math.h;
files = oldstyle/math.h;
select = "inline double abs";
+ bypass = "__GNUG__";
sed = "/#define.*__fp_class(a) \\\\/i\\\n"
"#ifndef __GNUC__\n";
sed =
@@ -3519,6 +3520,7 @@ fix = {
fix = {
hackname = sysz_stdlib_for_sun;
files = stdlib.h;
+ bypass = "_CLASSIC_ANSI_TYPES";
select = "char[ \t]*\\*[ \t]*(calloc|malloc|realloc|bsearch)[ \t]*\\(";
c_fix = format;