From: Jim Wilson Date: Thu, 7 Mar 1996 00:59:13 +0000 (-0800) Subject: Use va-sh.h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=385512eb870b09b2c7f3a08e33c93684b242a20c;p=gcc.git Use va-sh.h. From-SVN: r11485 --- diff --git a/gcc/ginclude/stdarg.h b/gcc/ginclude/stdarg.h index 84141dcc1ec..8eaa53cf5b9 100644 --- a/gcc/ginclude/stdarg.h +++ b/gcc/ginclude/stdarg.h @@ -41,6 +41,9 @@ #if defined (__PPC__) && defined (_CALL_SYSV) #include #else +#ifdef __sh__ +#include +#else /* Define __gnuc_va_list. */ @@ -93,6 +96,7 @@ void va_end (__gnuc_va_list); /* Defined in libgcc.a */ #endif /* big-endian */ #endif /* _STDARG_H */ +#endif /* not sh */ #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 77e0ed22e9d..5e17bec562c 100644 --- a/gcc/ginclude/varargs.h +++ b/gcc/ginclude/varargs.h @@ -39,6 +39,9 @@ #if defined (__PPC__) && defined (_CALL_SYSV) #include #else +#ifdef __sh__ +#include +#else #ifdef __NeXT__ @@ -111,6 +114,7 @@ typedef void *__gnuc_va_list; ? sizeof (TYPE) : __va_rounded_size (TYPE)))))) #endif /* big-endian */ +#endif /* not sh */ #endif /* not powerpc with V.4 calling sequence */ #endif /* not h8300 */ #endif /* not alpha */