Created
September 1, 2009 21:44
-
-
Save squarelover/179415 to your computer and use it in GitHub Desktop.
Patch for Spidermonkey install via homebrew
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- src/jsprf.c 2009-07-26 12:32:01.000000000 -0700 | |
+++ src/jsprf.c 2009-07-26 12:33:12.000000000 -0700 | |
@@ -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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment