OSDN Git Service

Use va-sh.h.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Mar 1996 00:59:13 +0000 (00:59 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 7 Mar 1996 00:59:13 +0000 (00:59 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11485 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 84141dc..8eaa53c 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 77e0ed2..5e17bec 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 */