mirror of
https://github.com/postgres/postgres.git
synced 2025-05-08 07:21:33 +03: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
|
||||||
#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>.
|
* Supplement to <sys/types.h>.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user