blob: 1bef920a2b70c2f50a168037ba9af2860a5bb873 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-bt,v 1.1 2004/05/30 14:02:01 sekiya Exp $
--- nsprpub/pr/src/io/prprf.c.orig 2003-02-27 08:53:42.000000000 +0900
+++ nsprpub/pr/src/io/prprf.c 2004-05-30 14:47:15.000000000 +0900
@@ -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(__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__)) || \
defined(WIN16) || defined(QNX) || \
|