mirror of
https://gitlab.xiph.org/xiph/icecast-common.git
synced 2024-12-04 14:46:31 -05:00
more portable va_copy for win32
svn path=/trunk/net/; revision=5098
This commit is contained in:
parent
e2272351a3
commit
92e633e11b
@ -52,7 +52,7 @@
|
|||||||
#define EWOULDBLOCK WSAEWOULDBLOCK
|
#define EWOULDBLOCK WSAEWOULDBLOCK
|
||||||
#define EALREADY WSAEALREADY
|
#define EALREADY WSAEALREADY
|
||||||
#define socklen_t int
|
#define socklen_t int
|
||||||
#define va_copy(ap1, ap2) ((ap1) = (ap2))
|
#define va_copy(ap1, ap2) memcpy(&ap1, &ap2, sizeof(va_list))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "sock.h"
|
#include "sock.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user