Commit 385512eb by Jim Wilson

Use va-sh.h.

From-SVN: r11485
parent b4b34037
...@@ -41,6 +41,9 @@ ...@@ -41,6 +41,9 @@
#if defined (__PPC__) && defined (_CALL_SYSV) #if defined (__PPC__) && defined (_CALL_SYSV)
#include <va-ppc.h> #include <va-ppc.h>
#else #else
#ifdef __sh__
#include <va-sh.h>
#else
/* Define __gnuc_va_list. */ /* Define __gnuc_va_list. */
...@@ -93,6 +96,7 @@ void va_end (__gnuc_va_list); /* Defined in libgcc.a */ ...@@ -93,6 +96,7 @@ void va_end (__gnuc_va_list); /* Defined in libgcc.a */
#endif /* big-endian */ #endif /* big-endian */
#endif /* _STDARG_H */ #endif /* _STDARG_H */
#endif /* not sh */
#endif /* not powerpc with V.4 calling sequence */ #endif /* not powerpc with V.4 calling sequence */
#endif /* not h8300 */ #endif /* not h8300 */
#endif /* not alpha */ #endif /* not alpha */
......
...@@ -39,6 +39,9 @@ ...@@ -39,6 +39,9 @@
#if defined (__PPC__) && defined (_CALL_SYSV) #if defined (__PPC__) && defined (_CALL_SYSV)
#include <va-ppc.h> #include <va-ppc.h>
#else #else
#ifdef __sh__
#include <va-sh.h>
#else
#ifdef __NeXT__ #ifdef __NeXT__
...@@ -111,6 +114,7 @@ typedef void *__gnuc_va_list; ...@@ -111,6 +114,7 @@ typedef void *__gnuc_va_list;
? sizeof (TYPE) : __va_rounded_size (TYPE)))))) ? sizeof (TYPE) : __va_rounded_size (TYPE))))))
#endif /* big-endian */ #endif /* big-endian */
#endif /* not sh */
#endif /* not powerpc with V.4 calling sequence */ #endif /* not powerpc with V.4 calling sequence */
#endif /* not h8300 */ #endif /* not h8300 */
#endif /* not alpha */ #endif /* not alpha */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment