24ae3154c4
tested by ajacoutot@, steven@ ok maintainer ajacoutot@
13 lines
450 B
Plaintext
13 lines
450 B
Plaintext
$OpenBSD: patch-src_jsprf_c,v 1.2 2007/04/10 13:03:09 martynas Exp $
|
|
--- src/jsprf.c.orig Thu Nov 30 02:34:45 2006
|
|
+++ src/jsprf.c Mon Apr 9 21:26:10 2007
|
|
@@ -57,7 +57,7 @@
|
|
** and requires array notation.
|
|
*/
|
|
#ifdef HAVE_VA_COPY
|
|
-#define VARARGS_ASSIGN(foo, bar) VA_COPY(foo,bar)
|
|
+#define VARARGS_ASSIGN(foo, bar) va_copy(foo,bar)
|
|
#elif defined(HAVE_VA_LIST_AS_ARRAY)
|
|
#define VARARGS_ASSIGN(foo, bar) foo[0] = bar[0]
|
|
#else
|