Commit c2316dcd authored by Peter Eisentraut's avatar Peter Eisentraut

Fix for lack of va_copy() on certain Windows versions

Based-on-patch-by: default avatarDavid Rowley <dgrowleyml@gmail.com>
parent 595a6a03
......@@ -237,6 +237,15 @@ int setitimer(int which, const struct itimerval * value, struct itimerval * ov
#endif
#endif
/*
* Supplement to <stdarg.h>
*/
/* 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 <sys/types.h>.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment