diff options
Diffstat (limited to 'm68k-unknown-amigaos/recipes/patches/gcc/gcc.ginclude.stdarg.h.p')
-rw-r--r-- | m68k-unknown-amigaos/recipes/patches/gcc/gcc.ginclude.stdarg.h.p | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/m68k-unknown-amigaos/recipes/patches/gcc/gcc.ginclude.stdarg.h.p b/m68k-unknown-amigaos/recipes/patches/gcc/gcc.ginclude.stdarg.h.p new file mode 100644 index 0000000..934c0c9 --- /dev/null +++ b/m68k-unknown-amigaos/recipes/patches/gcc/gcc.ginclude.stdarg.h.p @@ -0,0 +1,20 @@ +--- gcc-3.4.6/gcc/ginclude/stdarg.h 2003-03-13 03:58:40.000000000 +0100 ++++ gcc/ginclude/stdarg.h 2013-05-19 20:23:32.000000000 +0200 +@@ -93,7 +93,7 @@ + But on BSD NET2 we must not test or define or undef it. + (Note that the comments in NET 2's ansi.h + are incorrect for _VA_LIST_--see stdio.h!) */ +-#if !defined (_VA_LIST_) || defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__) || defined (__sequent__) || defined (__FreeBSD__) || defined(WINNT) ++#if !defined (_VA_LIST_) || defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__) || defined (__sequent__) || defined (__FreeBSD__) || defined(WINNT) || defined(__amigaos__) + /* The macro _VA_LIST_DEFINED is used in Windows NT 3.5 */ + #ifndef _VA_LIST_DEFINED + /* The macro _VA_LIST is used in SCO Unix 3.2. */ +@@ -107,7 +107,7 @@ + #endif /* not _VA_LIST_T_H */ + #endif /* not _VA_LIST */ + #endif /* not _VA_LIST_DEFINED */ +-#if !(defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__) || defined (__sequent__) || defined (__FreeBSD__)) ++#if !(defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__) || defined (__sequent__) || defined (__FreeBSD__) || defined(__amigaos__)) + #define _VA_LIST_ + #endif + #ifndef _VA_LIST |