diff --git a/libev/ev.c b/libev/ev.c index cf5583596..b034cea66 100644 --- a/libev/ev.c +++ b/libev/ev.c @@ -107,7 +107,7 @@ # undef EV_USE_POLL # define EV_USE_POLL 0 # endif - + # if HAVE_EPOLL_CTL && HAVE_SYS_EPOLL_H # ifndef EV_USE_EPOLL # define EV_USE_EPOLL EV_FEATURE_BACKENDS @@ -116,7 +116,7 @@ # undef EV_USE_EPOLL # define EV_USE_EPOLL 0 # endif - + # if HAVE_KQUEUE && HAVE_SYS_EVENT_H # ifndef EV_USE_KQUEUE # define EV_USE_KQUEUE EV_FEATURE_BACKENDS @@ -125,7 +125,7 @@ # undef EV_USE_KQUEUE # define EV_USE_KQUEUE 0 # endif - + # if HAVE_PORT_H && HAVE_PORT_CREATE # ifndef EV_USE_PORT # define EV_USE_PORT EV_FEATURE_BACKENDS @@ -161,7 +161,7 @@ # undef EV_USE_EVENTFD # define EV_USE_EVENTFD 0 # endif - + #endif #include @@ -1941,8 +1941,8 @@ array_nextsize (int elem, int cur, int cnt) return ncur; } - -static void * noinline ecb_cold +/* gevent: remove noinline, breaks all the appveyor builds */ +static void * ecb_cold array_realloc (int elem, void *base, int *cur, int cnt) { *cur = array_nextsize (elem, *cur, cnt); @@ -2307,7 +2307,7 @@ downheap (ANHE *heap, int N, int k) heap [k] = heap [c]; ev_active (ANHE_w (heap [k])) = k; - + k = c; } @@ -2727,7 +2727,7 @@ ev_supported_backends (void) EV_THROW if (EV_USE_EPOLL ) flags |= EVBACKEND_EPOLL; if (EV_USE_POLL ) flags |= EVBACKEND_POLL; if (EV_USE_SELECT) flags |= EVBACKEND_SELECT; - + return flags; } @@ -5094,4 +5094,3 @@ ev_walk (EV_P_ int types, void (*cb)(EV_P_ int type, void *w)) EV_THROW #if EV_MULTIPLICITY #include "ev_wrap.h" #endif -