diff options
author | Bruce Korb <korbb@gcc.gnu.org> | 2002-08-31 03:33:09 +0000 |
---|---|---|
committer | Bruce Korb <korbb@gcc.gnu.org> | 2002-08-31 03:33:09 +0000 |
commit | 157c4da237eb6ef0caba9907c1108c073ba6e097 (patch) | |
tree | e3c954c3f9e30e5c3f1b1aff503b4e3deee9fa3c /gcc/fixinc/inclhack.def | |
parent | c9989d0946718176421b57506af614a8e48b80ec (diff) | |
download | gcc-157c4da237eb6ef0caba9907c1108c073ba6e097.zip gcc-157c4da237eb6ef0caba9907c1108c073ba6e097.tar.gz gcc-157c4da237eb6ef0caba9907c1108c073ba6e097.tar.bz2 |
AAB_solaris_sys_varargs_h was misplaced
From-SVN: r56694
Diffstat (limited to 'gcc/fixinc/inclhack.def')
-rw-r--r-- | gcc/fixinc/inclhack.def | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def index c9617bd..2fce20f 100644 --- a/gcc/fixinc/inclhack.def +++ b/gcc/fixinc/inclhack.def @@ -220,6 +220,23 @@ fix = { /* + * Solaris <sys/varargs.h> is a DDK (aka kernel-land) header providing + * the same interface as <stdarg.h>. No idea why they couldn't have just + * used the standard header. + */ +fix = { + hackname = AAB_solaris_sys_varargs_h; + files = "sys/varargs.h"; + mach = '*-*-solaris*'; + replace = "#ifdef __STDC__\n" + "#include <stdarg.h>\n" + "#else\n" + "#include <varargs.h>\n" + "#endif\n"; +}; + + +/* * Fix non-ANSI memcpy declaration that conflicts with gcc's builtin * declaration on Sun OS 4.x. We must only fix this on Sun OS 4.x, because * many other systems have similar text but correct versions of the file. @@ -259,23 +276,6 @@ extern int memcmp(); /* - * Solaris <sys/varargs.h> is a DDK (aka kernel-land) header providing - * the same interface as <stdarg.h>. No idea why they couldn't have just - * used the standard header. - */ -fix = { - hackname = AAB_solaris_sys_varargs_h; - files = "sys/varargs.h"; - mach = '*-*-solaris*'; - replace = "#ifdef __STDC__\n" - "#include <stdarg.h>\n" - "#else\n" - "#include <varargs.h>\n" - "#endif\n"; -}; - - -/* * Completely replace <sys/varargs.h> with a file that includes gcc's * stdarg.h or varargs.h files as appropriate. */ |