24 #ifndef DBUS_SOCKETS_H
25 #define DBUS_SOCKETS_H
27 #if defined(DBUS_WIN) || defined(DBUS_WINCE)
44 #define DBUS_SOCKET_API_RETURNS_ERROR(n) ((n) == SOCKET_ERROR)
45 #define DBUS_SOCKET_SET_ERRNO() (_dbus_win_set_errno (WSAGetLastError()))
49 #error "dbus-sockets-win.h should not be included on non-Windows"