summaryrefslogtreecommitdiff
path: root/gcc/ginclude/varargs.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ginclude/varargs.h')
-rw-r--r--gcc/ginclude/varargs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ginclude/varargs.h b/gcc/ginclude/varargs.h
index 17098054780..691759e99ac 100644
--- a/gcc/ginclude/varargs.h
+++ b/gcc/ginclude/varargs.h
@@ -36,6 +36,9 @@
#if defined (__H8300__) || defined (__H8300H__)
#include <va-h8300.h>
#else
+#if defined (__PPC__) && defined (_CALL_SYSV)
+#include <va-ppc.h>
+#else
#ifdef __NeXT__
@@ -108,6 +111,7 @@ typedef void *__gnuc_va_list;
? sizeof (TYPE) : __va_rounded_size (TYPE))))))
#endif /* big-endian */
+#endif /* not powerpc with V.4 calling sequence */
#endif /* not h8300 */
#endif /* not alpha */
#endif /* not i960 */