mirror of
https://github.com/zeromq/libzmq.git
synced 2025-07-05 18:01:41 +02:00
Merge pull request #384 from steve-o/err-handler
Add errno fallback values for MSVC2008.
This commit is contained in:
commit
eb16f6b88e
@ -106,11 +106,29 @@ ZMQ_EXPORT void zmq_version (int *major, int *minor, int *patch);
|
|||||||
#ifndef ENOTSOCK
|
#ifndef ENOTSOCK
|
||||||
#define ENOTSOCK (ZMQ_HAUSNUMERO + 9)
|
#define ENOTSOCK (ZMQ_HAUSNUMERO + 9)
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef EMSGSIZE
|
||||||
|
#define EMSGSIZE (ZMQ_HAUSNUMERO + 10)
|
||||||
|
#endif
|
||||||
#ifndef EAFNOSUPPORT
|
#ifndef EAFNOSUPPORT
|
||||||
#define EAFNOSUPPORT (ZMQ_HAUSNUMERO + 10)
|
#define EAFNOSUPPORT (ZMQ_HAUSNUMERO + 11)
|
||||||
|
#endif
|
||||||
|
#ifndef ENETUNREACH
|
||||||
|
#define ENETUNREACH (ZMQ_HAUSNUMERO + 12)
|
||||||
|
#endif
|
||||||
|
#ifndef ECONNABORTED
|
||||||
|
#define ECONNABORTED (ZMQ_HAUSNUMERO + 13)
|
||||||
|
#endif
|
||||||
|
#ifndef ECONNRESET
|
||||||
|
#define ECONNRESET (ZMQ_HAUSNUMERO + 14)
|
||||||
|
#endif
|
||||||
|
#ifndef ENOTCONN
|
||||||
|
#define ENOTCONN (ZMQ_HAUSNUMERO + 15)
|
||||||
|
#endif
|
||||||
|
#ifndef ETIMEDOUT
|
||||||
|
#define ETIMEDOUT (ZMQ_HAUSNUMERO + 16)
|
||||||
#endif
|
#endif
|
||||||
#ifndef EHOSTUNREACH
|
#ifndef EHOSTUNREACH
|
||||||
#define EHOSTUNREACH (ZMQ_HAUSNUMERO + 11)
|
#define EHOSTUNREACH (ZMQ_HAUSNUMERO + 17)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Native 0MQ error codes. */
|
/* Native 0MQ error codes. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user