X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Ffixinc%2Finclhack.def;h=2fce20fe7ea3b6e7dfd69cf76321e78f07e400bd;hp=c9617bd07d1e90d5c54337644f1e0df6f62017ee;hb=4f56733a3c16f81a07ec0b30751d17044d0ee1b0;hpb=2b6ffc9c694a2cedd43c97107a373a5e3889880e diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def index c9617bd07d1..2fce20fe7ea 100644 --- a/gcc/fixinc/inclhack.def +++ b/gcc/fixinc/inclhack.def @@ -220,6 +220,23 @@ fix = { /* + * Solaris is a DDK (aka kernel-land) header providing + * the same interface as . 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 \n" + "#else\n" + "#include \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 is a DDK (aka kernel-land) header providing - * the same interface as . 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 \n" - "#else\n" - "#include \n" - "#endif\n"; -}; - - -/* * Completely replace with a file that includes gcc's * stdarg.h or varargs.h files as appropriate. */