The following patch allows xmlrpc (client parts only)
to compile under msys.
Everything is contained in the msys folder (should work
anywhere else though). It's basically a Makefile and 2
.h files.
It builds dll, dll.a and .a.
It also touches the following files:
lib/util/pthreadx_win32.c: -1 +1
- Change dwThreadID to unsigned int to match mingw
definition of _beginthreadex.
lib/wininet_transport/xmlrpc_wininet_transport.c: +2 -3
- Fix cast as lvalue warning.
- for sprintf lastErr is ulong but %d is used.
xmlrpc_datetime.c: +15
- Include definition of gmtime_r in the file to prevent
multiple inclusion.
xmlrpc_expat.c: -1 +6
- Include <expat.h> instead of <xmlparse.h> when
HAVE_EXPAT_H is defined. This is to optionally use the
system headers for expat.