blob: 8f9f3342b5ffc06aae5964d31d478eb2f4d48cd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-bt,v 1.1 2004/06/24 23:09:56 taya Exp $
diff -ru ../Orig/mozilla/nsprpub/pr/src/io/prprf.c ./nsprpub/pr/src/io/prprf.c
--- ../Orig/mozilla/nsprpub/pr/src/io/prprf.c 2004-03-09 12:18:19.000000000 +0900
+++ ./nsprpub/pr/src/io/prprf.c 2004-06-15 23:56:50.000000000 +0900
@@ -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__)) || \
|