summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.cpm>2012-02-22 08:00:51 +0100
committerMartin Sustrik <sustrik@250bpm.cpm>2012-02-22 08:00:51 +0100
commit0b883e1910e76b9ae0c1a433dcb68dbac7bc790a (patch)
treeec21faacc29211d3fc847ac006da44f753f62e3f /include
parentb3c9f38a99e2580b4862e34388e2590e08c14c52 (diff)
xszmq is compiled under MSVC
Signed-off-by: Martin Sustrik <sustrik@250bpm.cpm>
Diffstat (limited to 'include')
-rw-r--r--include/xszmq.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/xszmq.h b/include/xszmq.h
index eabf3c8..4463d9d 100644
--- a/include/xszmq.h
+++ b/include/xszmq.h
@@ -108,10 +108,18 @@ XSZMQ_EXPORT void zmq_version (int *major, int *minor, int *patch);
#endif
/* Native 0MQ error codes. */
+#ifndef EFSM
#define EFSM (ZMQ_HAUSNUMERO + 51)
+#endif
+#ifndef ENOCOMPATPROTO
#define ENOCOMPATPROTO (ZMQ_HAUSNUMERO + 52)
+#endif
+#ifndef ETERM
#define ETERM (ZMQ_HAUSNUMERO + 53)
+#endif
+#ifndef EMTHREAD
#define EMTHREAD (ZMQ_HAUSNUMERO + 54)
+#endif
#endif /* XS_BUILDING_LIBXSZMQ */
@@ -273,4 +281,3 @@ XSZMQ_EXPORT int zmq_device (int device, void * insocket, void* outsocket);
#endif
#endif
-