summaryrefslogtreecommitdiff
path: root/dbus/dbus-sockets-win.h
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2009-10-22 13:24:22 +0300
committerRalf Habacker <ralf.habacker@freenet.de>2009-12-01 10:28:07 +0100
commitad8bc4c6b336e7f833505609fbab178e76f961a2 (patch)
treef26ecdc196f424916cbf879d3d536f819695c970 /dbus/dbus-sockets-win.h
parent9bb7297ad72dbefed15da22cb22cf8ac3547b7ca (diff)
downloaddbus-ad8bc4c6b336e7f833505609fbab178e76f961a2.tar.gz
Don't fake network errno values on Windows
Don't pretend there exists errno values for some network errors in the Microsoft C library. Just use the WinSock error values.
Diffstat (limited to 'dbus/dbus-sockets-win.h')
-rw-r--r--dbus/dbus-sockets-win.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/dbus/dbus-sockets-win.h b/dbus/dbus-sockets-win.h
index 881a1270..0af5e7b9 100644
--- a/dbus/dbus-sockets-win.h
+++ b/dbus/dbus-sockets-win.h
@@ -49,10 +49,6 @@
#error This does not look like Win32 and the Microsoft C library
#endif
-#define EPROTONOSUPPORT WSAEPROTONOSUPPORT
-#define EAFNOSUPPORT WSAEAFNOSUPPORT
-#define EWOULDBLOCK WSAEWOULDBLOCK
-
#define DBUS_SOCKET_IS_INVALID(s) ((SOCKET)(s) == INVALID_SOCKET)
#define DBUS_SOCKET_API_RETURNS_ERROR(n) ((n) == SOCKET_ERROR)
#define DBUS_SOCKET_SET_ERRNO() errno = WSAGetLastError()