mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
Fix for lack of va_copy() on certain Windows versions
Based-on-patch-by: David Rowley <dgrowleyml@gmail.com>
This commit is contained in:
parent
595a6a0350
commit
c2316dcda1
@ -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>.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user