Commit c6caf7f1 authored by Ed "oddsock" Zaleski's avatar Ed "oddsock" Zaleski

more portable va_copy for win32

svn path=/trunk/net/; revision=5098
parent b1cd3085
......@@ -52,7 +52,7 @@
#define EWOULDBLOCK WSAEWOULDBLOCK
#define EALREADY WSAEALREADY
#define socklen_t int
#define va_copy(ap1, ap2) ((ap1) = (ap2))
#define va_copy(ap1, ap2) memcpy(&ap1, &ap2, sizeof(va_list))
#endif
#include "sock.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