add have timers define to detect if timers class available

This commit is contained in:
somdoron 2016-04-24 12:30:35 +03:00
parent 99763cce41
commit 9798f74d17

View File

@ -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);