[xml] error compiling libxml2-2.9.9 with MinGW with MSYS

2019-05-12 Thread Test User via xml
I am getting an erro rcompiling libxml2-2.9.9 with MinGW (gcc 6.3.0, w32api 5.2.1): CC xinclude.lo CC nanohttp.lo ../libxml2-2.9.9/nanohttp.c:96:0: warning: "INVALID_SOCKET" redefined #define INVALID_SOCKET (-1) In file included from c:\mingw\include\winsock2.h:62:0,

Re: [xml] error compiling libxml2-2.9.9 with MinGW with MSYS

2019-05-12 Thread Nick Wellnhofer
On 12/05/2019 19:15, Test User via xml wrote: ../libxml2-2.9.9/nanohttp.c:915:28: error: 'F_GETFL' undeclared (first use in this function) if ((status = fcntl(s, F_GETFL, 0)) != -1) { ^~~ Should be fixed with this commit from January: