compat: va_copy on Win32 systems

This commit is contained in:
Vicent Martí 2012-05-04 13:52:38 -07:00
parent 76873c0905
commit 1adf8c6a9c

View File

@ -58,4 +58,12 @@
# include <stdbool.h>
#endif
#ifndef va_copy
# ifdef __va_copy
# define va_copy(dst, src) __va_copy(dst, src)
# else
# define va_copy(dst, src) ((dst) = (src))
# endif
#endif
#endif /* INCLUDE_compat_h__ */