diff options
author | Jan Darmochwal | 2010-07-13 17:55:06 +0200 |
---|---|---|
committer | Jan Darmochwal | 2010-07-13 17:55:06 +0200 |
commit | f29300c556e541f2bf1b63ed8c6399a6c2044c8d (patch) | |
tree | 4a549ef967177e82e6b20536f9484e8461893c7b /libxml2/include/wsockcompat.h | |
parent | initial qt4 version (diff) | |
download | vmchooser-f29300c556e541f2bf1b63ed8c6399a6c2044c8d.tar.gz vmchooser-f29300c556e541f2bf1b63ed8c6399a6c2044c8d.tar.xz vmchooser-f29300c556e541f2bf1b63ed8c6399a6c2044c8d.zip |
qmake -> cmake; (mostly) cosmetic changes
Switched to cmake:
CMakeLists.txt in base directory
use ./build.sh to build vmchooser (or mkdir -p build; cd build cmake .. && make)
updated README
removed fltk/
removed libxml2/
removed mesgdisp/
renamed vmchooser/ to src/
moved all header files (.h) from vmchooser/inc/ to src/
added files to repository that must have slipped the last time
Diffstat (limited to 'libxml2/include/wsockcompat.h')
-rw-r--r-- | libxml2/include/wsockcompat.h | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/libxml2/include/wsockcompat.h b/libxml2/include/wsockcompat.h deleted file mode 100644 index 18fab37..0000000 --- a/libxml2/include/wsockcompat.h +++ /dev/null @@ -1,82 +0,0 @@ -/* include/wsockcompat.h - * Windows -> Berkeley Sockets compatibility things. - */ - -#if !defined __XML_WSOCKCOMPAT_H__ -#define __XML_WSOCKCOMPAT_H__ - -#ifdef _WIN32_WCE -#include <winsock.h> -#else -#undef HAVE_ERRNO_H -#include <winsock2.h> - -/* the following is a workaround a problem for 'inline' keyword in said - header when compiled with Borland C++ 6 */ -#if defined(__BORLANDC__) && !defined(__cplusplus) -#define inline __inline -#endif - -#include <ws2tcpip.h> - -/* Check if ws2tcpip.h is a recent version which provides getaddrinfo() */ -#if defined(GetAddrInfo) -#include <wspiapi.h> -#define HAVE_GETADDRINFO -#endif -#endif - -#ifdef __MINGW32__ -/* 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 -#endif - -#if !defined SOCKLEN_T -#define SOCKLEN_T int -#endif - -#define EWOULDBLOCK WSAEWOULDBLOCK -#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 ESHUTDOWN WSAESHUTDOWN -#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 /* __XML_WSOCKCOMPAT_H__ */ |