From: Bruce Korb Date: Sat, 31 Aug 2002 03:33:09 +0000 (+0000) Subject: AAB_solaris_sys_varargs_h was misplaced X-Git-Tag: releases/gcc-3.3.0~3094 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=157c4da237eb6ef0caba9907c1108c073ba6e097;p=thirdparty%2Fgcc.git AAB_solaris_sys_varargs_h was misplaced From-SVN: r56694 --- diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def index c9617bd07d1e..2fce20fe7ea3 100644 --- a/gcc/fixinc/inclhack.def +++ b/gcc/fixinc/inclhack.def @@ -219,6 +219,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 @@ -258,23 +275,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.