]> code.delx.au - pulseaudio/blob - polyp/winsock.h
b1e0f7d44e62ee0c86cab4ba4e02aeb0f5386ae7
[pulseaudio] / polyp / winsock.h
1 #ifndef foowinsockhfoo
2 #define foowinsockhfoo
3
4 #ifdef HAVE_WINSOCK2_H
5 #include <winsock2.h>
6
7 #define ESHUTDOWN WSAESHUTDOWN
8 #define ECONNRESET WSAECONNRESET
9 #define ECONNABORTED WSAECONNABORTED
10 #define ENETRESET WSAENETRESET
11 #define EINPROGRESS WSAEINPROGRESS
12 #define EAFNOSUPPORT WSAEAFNOSUPPORT
13 #define ETIMEDOUT WSAETIMEDOUT
14 #define ECONNREFUSED WSAECONNREFUSED
15 #define EHOSTUNREACH WSAEHOSTUNREACH
16
17 #endif
18
19 #ifdef HAVE_WS2TCPIP_H
20 #include <ws2tcpip.h>
21 #endif
22
23 #endif