diff options
author | Tor Lillqvist <tml@iki.fi> | 2009-10-22 13:24:22 +0300 |
---|---|---|
committer | Ralf Habacker <ralf.habacker@freenet.de> | 2009-12-01 10:28:07 +0100 |
commit | ad8bc4c6b336e7f833505609fbab178e76f961a2 (patch) | |
tree | f26ecdc196f424916cbf879d3d536f819695c970 /dbus/dbus-sockets-win.h | |
parent | 9bb7297ad72dbefed15da22cb22cf8ac3547b7ca (diff) | |
download | dbus-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.h | 4 |
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() |