diff --git a/lib/3rdparty/libxml2/config.h b/lib/3rdparty/libxml2/config.h index 9587db1f3c6..647abdd0b5b 100644 --- a/lib/3rdparty/libxml2/config.h +++ b/lib/3rdparty/libxml2/config.h @@ -287,7 +287,7 @@ #define XML_SOCKLEN_T int /* Using the Win32 Socket implementation */ -#define _WINSOCKAPI_ 1 +//#define _WINSOCKAPI_ 1 /* Define like PROTOTYPES; this can be used by system headers. */ #define __PROTOTYPES 1 diff --git a/lib/3rdparty/libxml2/nanoftp.c b/lib/3rdparty/libxml2/nanoftp.c index a54b85b3a54..07455433591 100644 --- a/lib/3rdparty/libxml2/nanoftp.c +++ b/lib/3rdparty/libxml2/nanoftp.c @@ -78,7 +78,7 @@ #if defined(__MINGW32__) || defined(_WIN32_WCE) -#define _WINSOCKAPI_ +//#define _WINSOCKAPI_ #include #include #undef XML_SOCKLEN_T diff --git a/lib/3rdparty/libxml2/nanohttp.c b/lib/3rdparty/libxml2/nanohttp.c index 80e79ed892d..c1989cc3727 100644 --- a/lib/3rdparty/libxml2/nanohttp.c +++ b/lib/3rdparty/libxml2/nanohttp.c @@ -79,7 +79,7 @@ #endif #if defined(__MINGW32__) || defined(_WIN32_WCE) -#define _WINSOCKAPI_ +//#define _WINSOCKAPI_ #include #include #undef XML_SOCKLEN_T