fix compile error for MSVC; no va_copy here. Patch pasted to me by Keith Boshoff
authorNathan Letwory <nathan@letworyinteractive.com>
Wed, 12 Jan 2011 10:00:47 +0000 (10:00 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Wed, 12 Jan 2011 10:00:47 +0000 (10:00 +0000)
source/blender/blenlib/intern/BLI_dynstr.c

index cdf74ae6b5bef3279a26a8b7a63f38333e46f0c7..c0200e48ac095f1c6ebca7ed11154e3056d2d7d2 100644 (file)
 #endif
 #endif
 
+#ifndef va_copy
+# ifdef __va_copy
+#  define va_copy(a,b) __va_copy(a,b)
+# else /* !__va_copy */
+#  define va_copy(a,b) ((a)=(b))
+# endif /* __va_copy */
+#endif /* va_copy */
+
 /***/
 
 typedef struct DynStrElem DynStrElem;