Created
August 19, 2010 16:18
-
-
Save mndrix/538262 to your computer and use it in GitHub Desktop.
This file contains 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
diff --git a/src/jsprf.c b/src/jsprf.c | |
index 416c16c..6735520 100644 | |
--- a/src/jsprf.c | |
+++ b/src/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment