Use va-sh.h.
authorJim Wilson <wilson@gcc.gnu.org>
Thu, 7 Mar 1996 00:59:13 +0000 (16:59 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Thu, 7 Mar 1996 00:59:13 +0000 (16:59 -0800)
From-SVN: r11485

gcc/ginclude/stdarg.h
gcc/ginclude/varargs.h

index 84141dcc1ec7509c4a3c2df288edb9ded3258ef5..8eaa53cf5b99b083b794e65ef3480f2c80eed34e 100644 (file)
@@ -41,6 +41,9 @@
 #if defined (__PPC__) && defined (_CALL_SYSV)
 #include <va-ppc.h>
 #else
+#ifdef __sh__
+#include <va-sh.h>
+#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 */
index 77e0ed22e9d0bbecfd3c0405ebed04c5c28846e5..5e17bec562c838938a7e3211f7699603eeb6a7fd 100644 (file)
@@ -39,6 +39,9 @@
 #if defined (__PPC__) && defined (_CALL_SYSV)
 #include <va-ppc.h>
 #else
+#ifdef __sh__
+#include <va-sh.h>
+#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 */