diff --git a/src/include/port/win32.h b/src/include/port/win32.h index 2c2d93765ee..70175d14a57 100644 --- a/src/include/port/win32.h +++ b/src/include/port/win32.h @@ -237,6 +237,15 @@ int setitimer(int which, const struct itimerval * value, struct itimerval * ov #endif #endif +/* + * Supplement to + */ + +/* Visual Studios 2012 and earlier don't have va_copy() */ +#if defined(_MSC_VER) && _MSC_VER <= 1700 +#define va_copy(dest, src) ((dest) = (src)) +#endif + /* * Supplement to . *