summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/cmocka_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cmocka_private.h b/include/cmocka_private.h
index 454baf1..c67f8db 100644
--- a/include/cmocka_private.h
+++ b/include/cmocka_private.h
@@ -30,6 +30,10 @@
# undef inline
# define inline __inline
+# ifndef va_copy
+# define va_copy(dest, src) (dest = src)
+# endif
+
# define strcasecmp _stricmp
# define strncasecmp _strnicmp