aboutsummaryrefslogtreecommitdiff
path: root/gcc/ginclude/stdarg.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ginclude/stdarg.h')
-rw-r--r--gcc/ginclude/stdarg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ginclude/stdarg.h b/gcc/ginclude/stdarg.h
index b8d85e8..2af8358 100644
--- a/gcc/ginclude/stdarg.h
+++ b/gcc/ginclude/stdarg.h
@@ -38,6 +38,9 @@
#if defined (__H8300__) || defined (__H8300H__)
#include <va-h8300.h>
#else
+#if defined (__PPC__) && defined (_CALL_SYSV)
+#include <va-ppc.h>
+#else
/* Define __gnuc_va_list. */
@@ -90,6 +93,7 @@ void va_end (__gnuc_va_list); /* Defined in libgcc.a */
#endif /* big-endian */
#endif /* _STDARG_H */
+#endif /* not powerpc with V.4 calling sequence */
#endif /* not h8300 */
#endif /* not alpha */
#endif /* not i960 */