Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix js-1.7 for freebsd

fixes this compilation problem:
src/third_party/js-1.7/jsprf.c: In function 'BuildArgArray':
src/third_party/js-1.7/jsprf.c:644: error: incompatible types in assignment
  • Loading branch information...
commit 1d84085365836b38406d2310c4a38b59fd1e4175 1 parent dfbf91e
@milkie milkie authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  third_party/js-1.7/jsprf.c
View
2  third_party/js-1.7/jsprf.c
@@ -58,6 +58,8 @@
*/
#ifdef HAVE_VA_COPY
#define VARARGS_ASSIGN(foo, bar) VA_COPY(foo,bar)
+#elif defined(va_copy)
+#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
Please sign in to comment.
Something went wrong with that request. Please try again.