Merge pull request #972 from mditzel/master

Fix issue #971
This commit is contained in:
Pieter Hintjens 2014-04-14 14:13:49 +02:00
commit 6409c0ec1c

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;