mirror of
https://github.com/reactos/reactos.git
synced 2025-06-23 02:50:17 +00:00
[LIBXML2] Update to version 2.9.7. CORE-14291
This commit is contained in:
parent
b97f0a8fed
commit
fc82f8e2e3
52 changed files with 1978 additions and 2458 deletions
71
sdk/lib/3rdparty/libxml2/include/wsockcompat.h
vendored
71
sdk/lib/3rdparty/libxml2/include/wsockcompat.h
vendored
|
@ -8,7 +8,7 @@
|
|||
#ifdef _WIN32_WCE
|
||||
#include <winsock.h>
|
||||
#else
|
||||
#undef HAVE_ERRNO_H
|
||||
#include <errno.h>
|
||||
#include <winsock2.h>
|
||||
|
||||
/* the following is a workaround a problem for 'inline' keyword in said
|
||||
|
@ -27,60 +27,23 @@
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#if defined( __MINGW32__ ) || defined( _MSC_VER )
|
||||
/* Include <errno.h> here to ensure that it doesn't get included later
|
||||
* (e.g. by iconv.h) and overwrites the definition of EWOULDBLOCK. */
|
||||
#include <errno.h>
|
||||
#undef EWOULDBLOCK
|
||||
#undef XML_SOCKLEN_T
|
||||
#define XML_SOCKLEN_T int
|
||||
|
||||
#ifndef ECONNRESET
|
||||
#define ECONNRESET WSAECONNRESET
|
||||
#endif
|
||||
|
||||
#if !defined SOCKLEN_T
|
||||
#define SOCKLEN_T int
|
||||
#ifndef EINPROGRESS
|
||||
#define EINPROGRESS WSAEINPROGRESS
|
||||
#endif
|
||||
#ifndef EINTR
|
||||
#define EINTR WSAEINTR
|
||||
#endif
|
||||
#ifndef ESHUTDOWN
|
||||
#define ESHUTDOWN WSAESHUTDOWN
|
||||
#endif
|
||||
#ifndef EWOULDBLOCK
|
||||
#define EWOULDBLOCK WSAEWOULDBLOCK
|
||||
#endif
|
||||
|
||||
#define EWOULDBLOCK WSAEWOULDBLOCK
|
||||
#define ESHUTDOWN WSAESHUTDOWN
|
||||
|
||||
#if (!defined(_MSC_VER) || (_MSC_VER < 1600)) || defined(__REACTOS__)
|
||||
#define EINPROGRESS WSAEINPROGRESS
|
||||
#define EALREADY WSAEALREADY
|
||||
#define ENOTSOCK WSAENOTSOCK
|
||||
#define EDESTADDRREQ WSAEDESTADDRREQ
|
||||
#define EMSGSIZE WSAEMSGSIZE
|
||||
#define EPROTOTYPE WSAEPROTOTYPE
|
||||
#define ENOPROTOOPT WSAENOPROTOOPT
|
||||
#define EPROTONOSUPPORT WSAEPROTONOSUPPORT
|
||||
#define ESOCKTNOSUPPORT WSAESOCKTNOSUPPORT
|
||||
#define EOPNOTSUPP WSAEOPNOTSUPP
|
||||
#define EPFNOSUPPORT WSAEPFNOSUPPORT
|
||||
#define EAFNOSUPPORT WSAEAFNOSUPPORT
|
||||
#define EADDRINUSE WSAEADDRINUSE
|
||||
#define EADDRNOTAVAIL WSAEADDRNOTAVAIL
|
||||
#define ENETDOWN WSAENETDOWN
|
||||
#define ENETUNREACH WSAENETUNREACH
|
||||
#define ENETRESET WSAENETRESET
|
||||
#define ECONNABORTED WSAECONNABORTED
|
||||
#define ECONNRESET WSAECONNRESET
|
||||
#define ENOBUFS WSAENOBUFS
|
||||
#define EISCONN WSAEISCONN
|
||||
#define ENOTCONN WSAENOTCONN
|
||||
#define ETOOMANYREFS WSAETOOMANYREFS
|
||||
#define ETIMEDOUT WSAETIMEDOUT
|
||||
#define ECONNREFUSED WSAECONNREFUSED
|
||||
#define ELOOP WSAELOOP
|
||||
#define EHOSTDOWN WSAEHOSTDOWN
|
||||
#define EHOSTUNREACH WSAEHOSTUNREACH
|
||||
#define EPROCLIM WSAEPROCLIM
|
||||
#define EUSERS WSAEUSERS
|
||||
#define EDQUOT WSAEDQUOT
|
||||
#define ESTALE WSAESTALE
|
||||
#define EREMOTE WSAEREMOTE
|
||||
/* These cause conflicts with the codes from errno.h. Since they are
|
||||
not used in the relevant code (nanoftp, nanohttp), we can leave
|
||||
them disabled.
|
||||
#define ENAMETOOLONG WSAENAMETOOLONG
|
||||
#define ENOTEMPTY WSAENOTEMPTY
|
||||
*/
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
#endif /* __XML_WSOCKCOMPAT_H__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue