aboutsummaryrefslogtreecommitdiffstats
path: root/include/libxml/nanoftp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libxml/nanoftp.h')
-rw-r--r--include/libxml/nanoftp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libxml/nanoftp.h b/include/libxml/nanoftp.h
index abb4bf71..7335faf1 100644
--- a/include/libxml/nanoftp.h
+++ b/include/libxml/nanoftp.h
@@ -16,7 +16,7 @@
#ifdef LIBXML_FTP_ENABLED
/* Needed for portability to Windows 64 bits */
-#if defined(__MINGW32__) || defined(_WIN32_WCE)
+#if defined(_WIN32) && !defined(__CYGWIN__)
#include <winsock2.h>
#else
/**