summaryrefslogtreecommitdiff
path: root/bindings/c
diff options
context:
space:
mode:
authorunknown <sustrik@.(none)>2009-10-01 13:48:04 +0200
committerunknown <sustrik@.(none)>2009-10-01 13:48:04 +0200
commit49a9ef5fcb661827ee174415b4608e609bd0a65b (patch)
treee487422695b0b4774d42569b1fbbfa1e6a848206 /bindings/c
parentcc631c4c6649b0d67114db13386a949426e35dbf (diff)
windows error handling improved
Diffstat (limited to 'bindings/c')
-rw-r--r--bindings/c/zmq.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/bindings/c/zmq.h b/bindings/c/zmq.h
index 3eeb3f8..40750ec 100644
--- a/bindings/c/zmq.h
+++ b/bindings/c/zmq.h
@@ -51,6 +51,18 @@ extern "C" {
#ifndef EPROTONOSUPPORT
#define EPROTONOSUPPORT (ZMQ_HAUSNUMERO + 2)
#endif
+#ifndef ENOBUFS
+#define ENOBUFS (ZMQ_HAUSNUMERO + 3)
+#endif
+#ifndef ENETDOWN
+#define ENETDOWN (ZMQ_HAUSNUMERO + 4)
+#endif
+#ifndef EADDRINUSE
+#define EADDRINUSE (ZMQ_HAUSNUMERO + 5)
+#endif
+#ifndef EADDRNOTAVAIL
+#define EADDRNOTAVAIL (ZMQ_HAUSNUMERO + 6)
+#endif
// Native 0MQ error codes.
#define EMTHREAD (ZMQ_HAUSNUMERO + 50)