aboutsummaryrefslogtreecommitdiff
path: root/gcc/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/system.h')
-rw-r--r--gcc/system.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/system.h b/gcc/system.h
index 0d1da2c..4078977 100644
--- a/gcc/system.h
+++ b/gcc/system.h
@@ -35,6 +35,14 @@ Boston, MA 02111-1307, USA. */
#include <varargs.h>
#endif
+#ifndef va_copy
+# ifdef __va_copy
+# define va_copy(d,s) __va_copy((d),(s))
+# else
+# define va_copy(d,s) ((d) = (s))
+# endif
+#endif
+
#include <stdio.h>
/* Define a generic NULL if one hasn't already been defined. */