aboutsummaryrefslogtreecommitdiff
path: root/gcc/prefix.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-11-14 03:27:55 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1997-11-14 03:27:55 +0000
commit373628c062e68d3fe79317221baf36337a68c712 (patch)
tree0bcf5e42df16248f454c98dfd321dcfa2635884c /gcc/prefix.c
parent5e14ded0b8a61b2cf8003d24dc498271016f85dd (diff)
* prefix.c: Use stdarg.h only ifdef __STDC__. Otherwise,
use varargs.h. Wrap header with <>, not "". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16482 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/prefix.c')
-rw-r--r--gcc/prefix.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/prefix.c b/gcc/prefix.c
index 3ffda1ab528..bf501c74391 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>