diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-08-15 20:39:48 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-08-15 20:39:48 +0200 |
commit | 714d3b288f3c92f1736a9e35d4f177bbef84c003 (patch) | |
tree | c0979a9db5bb3db2af14a30f2f781229b5c35e64 /src | |
parent | 85851d312771f043263257bcf972bd11cadec50a (diff) |
EAFNOSUPPORT defined on Windows platform
Windows headers don't defined this error.
This patch defines it if not already defined.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/err.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/err.cpp b/src/err.cpp index 31e2974..f374de9 100644 --- a/src/err.cpp +++ b/src/err.cpp @@ -228,6 +228,9 @@ void zmq::wsa_error_to_errno () case WSAEADDRNOTAVAIL: errno = EADDRNOTAVAIL; return; + case WSAEAFNOSUPPORT: + errno = EAFNOSUPPORT; + return; default: wsa_assert (false); } |