From 195d698a9d1ffbca0cb8ff1fe3f5a2db13c4ba42 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Tue, 6 Apr 2010 11:44:35 +0000 Subject: [PATCH] [LIBXML2] Don't define _WINSOCKAPI_ svn path=/branches/header-work/; revision=46745 --- lib/3rdparty/libxml2/config.h | 2 +- lib/3rdparty/libxml2/nanoftp.c | 2 +- lib/3rdparty/libxml2/nanohttp.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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