From f2dcf19923c4b60b268899c93b8deb3e6f30c6fe Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 23 May 2013 13:26:11 -0400 Subject: Add a va_copy define for Windows --- win/inspircd_win32wrapper.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'win/inspircd_win32wrapper.h') diff --git a/win/inspircd_win32wrapper.h b/win/inspircd_win32wrapper.h index a1463b318..38754d5df 100644 --- a/win/inspircd_win32wrapper.h +++ b/win/inspircd_win32wrapper.h @@ -90,6 +90,10 @@ CoreExport const char * insp_inet_ntop(int af, const void * src, char * dst, soc #define snprintf _snprintf #define vsnprintf _vsnprintf +#ifndef va_copy +#define va_copy(dest, src) (dest = src) +#endif + /* Unix-style sleep (argument is in seconds) */ __inline void sleep(int seconds) { Sleep(seconds * 1000); } -- cgit v1.2.3