From 157c4da237eb6ef0caba9907c1108c073ba6e097 Mon Sep 17 00:00:00 2001 From: Bruce Korb Date: Sat, 31 Aug 2002 03:33:09 +0000 Subject: AAB_solaris_sys_varargs_h was misplaced From-SVN: r56694 --- gcc/fixinc/inclhack.def | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'gcc/fixinc') 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 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. */ -- cgit v1.1