$OpenBSD: patch-nsprpub_pr_src_io_prprf_c,v 1.2 2004/12/27 21:21:39 wilfried Exp $
--- nsprpub/pr/src/io/prprf.c.orig	2004-03-09 04:18:19.000000000 +0100
+++ nsprpub/pr/src/io/prprf.c	2004-05-06 15:35:51.000000000 +0200
@@ -51,7 +51,9 @@
 ** Note: on some platforms va_list is defined as an array,
 ** and requires array notation.
 */
-#if (defined(LINUX) && defined(__x86_64__))
+#if defined(va_copy)
+#define VARARGS_ASSIGN(foo, bar) va_copy(foo,bar)
+#elif (defined(LINUX) && defined(__x86_64__))
 #define VARARGS_ASSIGN(foo, bar) __va_copy((foo), (bar))
 #elif (defined(LINUX) && defined(__powerpc__)) || \
     (defined(LINUX) && defined(__s390__)) || \
