From: Kaveh R. Ghazi Date: Fri, 14 Nov 1997 03:27:55 +0000 (+0000) Subject: prefix.c: Use stdarg.h only ifdef __STDC__. X-Git-Tag: releases/libf2c-0.5.21~573 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1f1e15454f94d28c07e479bfbb56ba247e24ea04;p=thirdparty%2Fgcc.git prefix.c: Use stdarg.h only ifdef __STDC__. * prefix.c: Use stdarg.h only ifdef __STDC__. Otherwise, use varargs.h. Wrap header with <>, not "". From-SVN: r16482 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c8ba8c957194..02e1503d96be 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Thu Nov 13 20:29:08 1997 Kaveh R. Ghazi + + * prefix.c: Use stdarg.h only ifdef __STDC__. Otherwise, + use varargs.h. Wrap header with <>, not "". + Thu Nov 13 20:21:17 1997 Jeffrey A Law (law@cygnus.com) * integrate.c (save_for_inline_copying): Add return value from diff --git a/gcc/prefix.c b/gcc/prefix.c index 3ffda1ab528e..bf501c743919 100644 --- a/gcc/prefix.c +++ b/gcc/prefix.c @@ -65,7 +65,11 @@ Boston, MA 02111-1307, USA. */ #include "config.h" #include "gansidecl.h" -#include "stdarg.h" +#ifdef __STDC__ +#include +#else +#include +#endif #ifdef _WIN32 #include