diff options
Diffstat (limited to 'mail/thunderbird-esr/files/patch-nsprpub-pr-src-io-prprf.c')
-rw-r--r-- | mail/thunderbird-esr/files/patch-nsprpub-pr-src-io-prprf.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/mail/thunderbird-esr/files/patch-nsprpub-pr-src-io-prprf.c b/mail/thunderbird-esr/files/patch-nsprpub-pr-src-io-prprf.c index 8c48ad1e08fb..74a85ce8b5e2 100644 --- a/mail/thunderbird-esr/files/patch-nsprpub-pr-src-io-prprf.c +++ b/mail/thunderbird-esr/files/patch-nsprpub-pr-src-io-prprf.c @@ -1,12 +1,14 @@ ---- nsprpub/pr/src/io/prprf.c Wed Feb 26 15:53:42 2003 -+++ nsprpub/pr/src/io/prprf.c Thu Oct 16 22:50:40 2003 -@@ -52,5 +52,8 @@ +--- nsprpub/pr/src/io/prprf.c.orig Mon Mar 8 22:18:19 2004 ++++ nsprpub/pr/src/io/prprf.c Mon May 3 13:00:27 2004 +@@ -51,7 +51,10 @@ + ** Note: on some platforms va_list is defined as an array, ** and requires array notation. */ --#if (defined(LINUX) && defined(__powerpc__)) || \ +-#if (defined(LINUX) && defined(__x86_64__)) +#if defined(__amd64__) +#include <stdarg.h> +#define VARARGS_ASSIGN(foo, bar) va_copy((foo), (bar)) -+#elif (defined(LINUX) && defined(__powerpc__)) || \ ++#elif (defined(LINUX) && defined(__x86_64__)) + #define VARARGS_ASSIGN(foo, bar) __va_copy((foo), (bar)) + #elif (defined(LINUX) && defined(__powerpc__)) || \ (defined(LINUX) && defined(__s390__)) || \ - (defined(LINUX) && defined(__s390x__)) || \ |