Skip to content
Snippets Groups Projects
Commit 31639134 authored by rswindell's avatar rswindell
Browse files

Resolve MSVC10 warnings about error macro redefinitions.

parent 3375ea6c
No related branches found
No related tags found
No related merge requests found
......@@ -98,13 +98,27 @@ typedef struct {
#undef EWOULDBLOCK
#define EWOULDBLOCK (WSAEWOULDBLOCK-WSABASEERR)
#ifndef EPROTOTYPE
#define EPROTOTYPE (WSAEPROTOTYPE-WSABASEERR)
#endif
#ifndef ENOPROTOOPT
#define ENOPROTOOPT (WSAENOPROTOOPT-WSABASEERR)
#endif
#ifndef EPROTONOSUPPORT
#define EPROTONOSUPPORT (WSAEPROTONOSUPPORT-WSABASEERR)
#endif
#ifndef ESOCKTNOSUPPORT
#define ESOCKTNOSUPPORT (WSAESOCKTNOSUPPORT-WSABASEERR)
#endif
#ifndef EOPNOTSUPP
#define EOPNOTSUPP (WSAEOPNOTSUPP-WSABASEERR)
#endif
#ifndef EPFNOSUPPORT
#define EPFNOSUPPORT (WSAEPFNOSUPPORT-WSABASEERR)
#endif
#ifndef EAFNOSUPPORT
#define EAFNOSUPPORT (WSAEAFNOSUPPORT-WSABASEERR)
#endif
#undef EADDRINUSE
#define EADDRINUSE (WSAEADDRINUSE-WSABASEERR)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment