summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-08-15 20:39:48 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-08-15 20:39:48 +0200
commit714d3b288f3c92f1736a9e35d4f177bbef84c003 (patch)
treec0979a9db5bb3db2af14a30f2f781229b5c35e64 /include
parent85851d312771f043263257bcf972bd11cadec50a (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 'include')
-rw-r--r--include/zmq.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/zmq.h b/include/zmq.h
index cca7d01..b44bd5e 100644
--- a/include/zmq.h
+++ b/include/zmq.h
@@ -101,6 +101,9 @@ ZMQ_EXPORT void zmq_version (int *major, int *minor, int *patch);
#ifndef ENOTSOCK
#define ENOTSOCK (ZMQ_HAUSNUMERO + 9)
#endif
+#ifndef EAFNOSUPPORT
+#define EAFNOSUPPORT (ZMQ_HAUSNUMERO + 10)
+#endif
/* Native 0MQ error codes. */
#define EFSM (ZMQ_HAUSNUMERO + 51)