mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 10:33:52 +01:00
add have timers define to detect if timers class available
This commit is contained in:
parent
99763cce41
commit
9798f74d17
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user