Git init
[framework/multimedia/pulseaudio.git] / src / pulsecore / 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 #define EWOULDBLOCK     WSAEWOULDBLOCK
17
18 typedef long suseconds_t;
19
20 #endif
21
22 #ifdef HAVE_WS2TCPIP_H
23 #include <ws2tcpip.h>
24 #endif
25
26 #endif