blob: 391ee3b3021cdb971f337e4b54b5a8e8f72b5c3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
--- a/lib/libUPnP/Neptune/Source/System/Bsd/NptBsdSockets.cpp
+++ b/lib/libUPnP/Neptune/Source/System/Bsd/NptBsdSockets.cpp
@@ -131,46 +131,19 @@
#undef SetPort
#endif
-#if !defined(EWOULDBLOCK)
#define EWOULDBLOCK WSAEWOULDBLOCK
-#endif
-#if !defined(EINPROGRESS)
#define EINPROGRESS WSAEINPROGRESS
-#endif
-#if !defined(ECONNREFUSED)
#define ECONNREFUSED WSAECONNREFUSED
-#endif
-#if !defined(ECONNABORTED)
#define ECONNABORTED WSAECONNABORTED
-#endif
-#if !defined(ECONNRESET)
#define ECONNRESET WSAECONNRESET
-#endif
-#if !defined(ETIMEDOUT)
#define ETIMEDOUT WSAETIMEDOUT
-#endif
-#if !defined(ENETRESET)
#define ENETRESET WSAENETRESET
-#endif
-#if !defined(EADDRINUSE)
#define EADDRINUSE WSAEADDRINUSE
-#endif
-#if !defined(ENETDOWN)
#define ENETDOWN WSAENETDOWN
-#endif
-#if !defined(ENETUNREACH)
#define ENETUNREACH WSAENETUNREACH
-#endif
-#if !defined(EHOSTUNREACH)
-#define EHOSTUNREACH WSAEHOSTUNREACH
-#endif
-#if !defined(ENOTCONN)
#define ENOTCONN WSAENOTCONN
-#endif
#if !defined(EAGAIN)
#define EAGAIN WSAEWOULDBLOCK
-#endif
-#if !defined(EINTR)
#define EINTR WSAEINTR
#endif
#if !defined(SHUT_RDWR)
|