This commit is contained in:
Maarten Ditzel 2014-04-14 13:56:01 +02:00
parent 91e77e6aa4
commit 802d1bcb03

View File

@ -50,7 +50,8 @@
#endif
// Workaround missing Mstcpip.h in mingw32 (MinGW64 provides this)
#if defined __MINGW32__ && !defined SIO_KEEPALIVE_VALS && !defined __MINGW64__
// __MINGW64_VERSION_MAJOR is only defined when using in mingw-w64
#if defined __MINGW32__ && !defined SIO_KEEPALIVE_VALS && !defined __MINGW64_VERSION_MAJOR
struct tcp_keepalive {
u_long onoff;
u_long keepalivetime;