diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1997-11-14 03:27:55 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1997-11-13 20:27:55 -0700 |
commit | 1f1e15454f94d28c07e479bfbb56ba247e24ea04 (patch) | |
tree | 0bcf5e42df16248f454c98dfd321dcfa2635884c /gcc/prefix.c | |
parent | daa4b71743f92f2a1c4adcc52eb0838c76a30ac5 (diff) | |
download | gcc-1f1e15454f94d28c07e479bfbb56ba247e24ea04.zip gcc-1f1e15454f94d28c07e479bfbb56ba247e24ea04.tar.gz gcc-1f1e15454f94d28c07e479bfbb56ba247e24ea04.tar.bz2 |
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
Diffstat (limited to 'gcc/prefix.c')
-rw-r--r-- | gcc/prefix.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/prefix.c b/gcc/prefix.c index 3ffda1a..bf501c7 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 <stdarg.h> +#else +#include <varargs.h> +#endif #ifdef _WIN32 #include <windows.h> |