From 9798f74d1779d425ddaf0b14b9143912d313364e Mon Sep 17 00:00:00 2001 From: somdoron Date: Sun, 24 Apr 2016 12:30:35 +0300 Subject: [PATCH] add have timers define to detect if timers class available --- include/zmq.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/zmq.h b/include/zmq.h index 28d6f900..ff7949e1 100644 --- a/include/zmq.h +++ b/include/zmq.h @@ -478,6 +478,8 @@ ZMQ_EXPORT int zmq_poller_remove_fd (void *poller, int fd); /* Scheduling timers */ /******************************************************************************/ +#define ZMQ_HAVE_TIMERS + typedef void (zmq_timer_fn)(int timer_id, void *arg); ZMQ_EXPORT void *zmq_timers_new (void);