summaryrefslogtreecommitdiffstats
path: root/nanohttp/wsockcompat.h
diff options
context:
space:
mode:
authorGravatar snowdrop2004-08-30 07:30:00 +0000
committerGravatar snowdrop2004-08-30 07:30:00 +0000
commitc3124348d799ab746a5f4ab3d0d9175db9dac0ce (patch)
tree93f16af5d54d4addd67b10d1c812dd777c34c47a /nanohttp/wsockcompat.h
parent5303a0894a62f8118be43e9d52f8c8354d9d1f0b (diff)
downloadcsoap-c3124348d799ab746a5f4ab3d0d9175db9dac0ce.tar.gz
csoap-c3124348d799ab746a5f4ab3d0d9175db9dac0ce.tar.bz2
moved to libsoap-win32 project
Diffstat (limited to 'nanohttp/wsockcompat.h')
-rw-r--r--nanohttp/wsockcompat.h61
1 files changed, 0 insertions, 61 deletions
diff --git a/nanohttp/wsockcompat.h b/nanohttp/wsockcompat.h
deleted file mode 100644
index 690048c..0000000
--- a/nanohttp/wsockcompat.h
+++ /dev/null
@@ -1,61 +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>
-#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__ */