Merge pull request #941 from veegee/master

Fix building on MinGW64 Windows
This commit is contained in:
Pieter Hintjens 2014-03-20 18:30:03 +02:00
commit c217ab73b1

View File

@ -49,8 +49,8 @@
#include <Mstcpip.h>
#endif
// Workaround missing Mstcpip.h in mingw32
#if defined __MINGW32__ && !defined SIO_KEEPALIVE_VALS
// Workaround missing Mstcpip.h in mingw32 (MinGW64 provides this)
#if defined __MINGW32__ && !defined SIO_KEEPALIVE_VALS && !defined __MINGW64__
struct tcp_keepalive {
u_long onoff;
u_long keepalivetime;