avoid including Win32 headers when build with cygwin

This commit is contained in:
derselbst 2017-07-07 16:24:30 +02:00
parent 5e2694ab1d
commit 54f5f9d2b8

View file

@ -112,7 +112,7 @@
#include <io.h>
#endif
#if HAVE_WINDOWS_H
#if defined(WIN32) && HAVE_WINDOWS_H
#include <winsock2.h>
#include <ws2tcpip.h>
#include <windows.h>