pulseaudio/polyp/winsock.h
Pierre Ossman 0a9abdd9d1 Unfortunately Windows has two different values for EBADF depending on
if it's a file or a socket. We'll have to deal with these as they show
up.


git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@438 fefdeb5f-60dc-0310-8127-8f9354f1896f
2006-01-10 09:15:56 +00:00

22 lines
470 B
C

#ifndef foowinsockhfoo
#define foowinsockhfoo
#ifdef HAVE_WINSOCK2_H
#include <winsock2.h>
#define ESHUTDOWN WSAESHUTDOWN
#define ECONNRESET WSAECONNRESET
#define ECONNABORTED WSAECONNABORTED
#define ENETRESET WSAENETRESET
#define EINPROGRESS WSAEINPROGRESS
#define ETIMEDOUT WSAETIMEDOUT
#define ECONNREFUSED WSAECONNREFUSED
#define EHOSTUNREACH WSAEHOSTUNREACH
#endif
#ifdef HAVE_WS2TCPIP_H
#include <ws2tcpip.h>
#endif
#endif