Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2011-01-12 13:00:47 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2011-01-12 13:00:47 +0300
commit4043830cf878de493ddd7d77190a0bc06cce6e3d (patch)
treeb82e4b1b083c03b5627e0a2f102381490f1bfbfa /source/blender/blenlib/intern/BLI_dynstr.c
parent792bf1535fecc5290bed8680c27638c5a1087669 (diff)
fix compile error for MSVC; no va_copy here. Patch pasted to me by Keith Boshoff
Diffstat (limited to 'source/blender/blenlib/intern/BLI_dynstr.c')
-rw-r--r--source/blender/blenlib/intern/BLI_dynstr.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/BLI_dynstr.c b/source/blender/blenlib/intern/BLI_dynstr.c
index cdf74ae6b5b..c0200e48ac0 100644
--- a/source/blender/blenlib/intern/BLI_dynstr.c
+++ b/source/blender/blenlib/intern/BLI_dynstr.c
@@ -41,6 +41,14 @@
#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;