From 714d3b288f3c92f1736a9e35d4f177bbef84c003 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Mon, 15 Aug 2011 20:39:48 +0200 Subject: 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 --- include/zmq.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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) -- cgit v1.2.3