diff --git a/gcc/ginclude/stdarg.h b/gcc/ginclude/stdarg.h index 3b3fdf5cc7fc..adb22fb9ee55 100644 --- a/gcc/ginclude/stdarg.h +++ b/gcc/ginclude/stdarg.h @@ -41,6 +41,9 @@ #if defined (__PPC__) && (defined (_CALL_SYSV) || defined (_WIN32)) #include "va-ppc.h" #else +#ifdef __M32R__ +#include "va-m32r.h" +#else #ifdef __sh__ #include "va-sh.h" #else @@ -105,6 +108,7 @@ void va_end (__gnuc_va_list); /* Defined in libgcc.a */ #endif /* not mn10300 */ #endif /* not sh */ +#endif /* not m32r */ #endif /* not powerpc with V.4 calling sequence */ #endif /* not h8300 */ #endif /* not alpha */ diff --git a/gcc/ginclude/varargs.h b/gcc/ginclude/varargs.h index c8fa2059debc..3630cc007c26 100644 --- a/gcc/ginclude/varargs.h +++ b/gcc/ginclude/varargs.h @@ -39,6 +39,9 @@ #if defined (__PPC__) && (defined (_CALL_SYSV) || defined (_WIN32)) #include "va-ppc.h" #else +#ifdef __M32R__ +#include "va-m32r.h" +#else #ifdef __sh__ #include "va-sh.h" #else @@ -122,6 +125,7 @@ typedef void *__gnuc_va_list; #endif /* not mn10300 */ #endif /* not sh */ +#endif /* not m32r */ #endif /* not powerpc with V.4 calling sequence */ #endif /* not h8300 */ #endif /* not alpha */