summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-bt
blob: 7b77e00dbc9181c16306a5cc3b4b75382f8b7475 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-bt,v 1.4 2005/09/22 14:14:04 jlam Exp $

--- nsprpub/pr/src/io/prprf.c.orig	2004-03-09 03:18:19.000000000 +0000
+++ nsprpub/pr/src/io/prprf.c
@@ -53,6 +53,11 @@
 */
 #if (defined(LINUX) && defined(__x86_64__))
 #define VARARGS_ASSIGN(foo, bar) __va_copy((foo), (bar))
+#elif (defined (__NetBSD__) && \
+	(defined(__amd64__) || \
+	(defined(__powerpc__) && __NetBSD_Version__ >= 105000000)))
+#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__)) || \