Imported Upstream version 2.9.7
[platform/upstream/libxml2.git] / include / libxml / nanoftp.h
index abb4bf7..7335faf 100644 (file)
@@ -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
 /**