Commit 802d1bcb authored by Maarten Ditzel's avatar Maarten Ditzel

Fix issue #971

parent 91e77e6a
...@@ -50,7 +50,8 @@ ...@@ -50,7 +50,8 @@
#endif #endif
// Workaround missing Mstcpip.h in mingw32 (MinGW64 provides this) // 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 { struct tcp_keepalive {
u_long onoff; u_long onoff;
u_long keepalivetime; u_long keepalivetime;
......
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