aboutsummaryrefslogtreecommitdiff
path: root/www/firefox-devel/files/patch-nsprpub-pr-src-io-prprf.c
blob: 29b941b60fac2fdb5a4fbf69e5a39b9c0251ffcd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$FreeBSD$

--- 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 @@
 ** and requires array notation.
 */
-#if (defined(LINUX) && defined(__powerpc__)) || \
+#if defined(__amd64__)
+#include <stdarg.h>
+#define VARARGS_ASSIGN(foo, bar) va_copy((foo), (bar))
+#elif (defined(LINUX) && defined(__powerpc__)) || \
     (defined(LINUX) && defined(__s390__)) || \
     (defined(LINUX) && defined(__s390x__)) || \