Pullup ticket #3308 - requested by drochner
[pkgsrcv2.git] / lang / ossp-js / patches / patch-ad
1 $NetBSD$
2
3 --- config.h.in.orig    2007-02-08 04:39:29.000000000 -0500
4 +++ config.h.in
5 @@ -10,10 +10,10 @@
6  #define __VA_COPY_USE_C99(d, s) va_copy((d), (s))
7  
8  /* Predefined possible va_copy() implementation (id: CPP) */
9 -#define __VA_COPY_USE_CPP(d, s) memcpy((void *)(d), (void *)(s)), sizeof(*(s))
10 +#define __VA_COPY_USE_CPP(d, s) memcpy((void *)(d), (void *)(s), sizeof(*(s)))
11  
12  /* Predefined possible va_copy() implementation (id: CPS) */
13 -#define __VA_COPY_USE_CPS(d, s) memcpy((void *)&(d), (void *)&(s)), sizeof((s))
14 +#define __VA_COPY_USE_CPS(d, s) memcpy((void *)&(d), (void *)&(s), sizeof((s)))
15  
16  /* Predefined possible va_copy() implementation (id: GCB) */
17  #define __VA_COPY_USE_GCB(d, s) __builtin_va_copy((d), (s))