summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-04-09 09:46:59 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-04-09 09:46:59 +0200
commit0839cceac9dd29cc64cd9a634b9d3340cfbf3bbe (patch)
treeb8a8f9051b2b2ba0deaac06cdb21240e47a812c9
parentb96fe15bb666e59728b6aa02f28c5838020f6bf3 (diff)
Missing ENOTSOCK added on Win32
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-rw-r--r--include/zmq.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/zmq.h b/include/zmq.h
index 01c9d80..e6fb60d 100644
--- a/include/zmq.h
+++ b/include/zmq.h
@@ -98,6 +98,9 @@ ZMQ_EXPORT void zmq_version (int *major, int *minor, int *patch);
#ifndef EINPROGRESS
#define EINPROGRESS (ZMQ_HAUSNUMERO + 8)
#endif
+#ifndef ENOTSOCK
+#define ENOTSOCK (ZMQ_HAUSNUMERO + 9)
+#endif
/* Native 0MQ error codes. */
#define EFSM (ZMQ_HAUSNUMERO + 51)