Browse Source

[core] libev EV_ERROR conflicts with kqueue

libev EV_ERROR conflicts with kqueue sys/event.h EV_ERROR
master
Glenn Strauss 3 months ago
parent
commit
fe7d5a762d
  1. 7
      src/fdevent_impl.c

7
src/fdevent_impl.c

@ -763,6 +763,13 @@ fdevent_solaris_devpoll_init (fdevents *ev)
#ifdef FDEVENT_USE_LIBEV
#if (defined(__APPLE__) && defined(__MACH__)) \
|| defined(__FreeBSD__) || defined(__NetBSD__) \
|| defined(__OpenBSD__) || defined(__DragonFly__)
/* libev EV_ERROR conflicts with kqueue sys/event.h EV_ERROR */
#undef EV_ERROR
#endif
#include <ev.h>
static void

Loading…
Cancel
Save