Commit 278da02f authored by Jason Madden's avatar Jason Madden

Remove noinline keyword added in 4.22 because it breaks windows.

parent 35ff8ede
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
# undef EV_USE_POLL # undef EV_USE_POLL
# define EV_USE_POLL 0 # define EV_USE_POLL 0
# endif # endif
# if HAVE_EPOLL_CTL && HAVE_SYS_EPOLL_H # if HAVE_EPOLL_CTL && HAVE_SYS_EPOLL_H
# ifndef EV_USE_EPOLL # ifndef EV_USE_EPOLL
# define EV_USE_EPOLL EV_FEATURE_BACKENDS # define EV_USE_EPOLL EV_FEATURE_BACKENDS
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
# undef EV_USE_EPOLL # undef EV_USE_EPOLL
# define EV_USE_EPOLL 0 # define EV_USE_EPOLL 0
# endif # endif
# if HAVE_KQUEUE && HAVE_SYS_EVENT_H # if HAVE_KQUEUE && HAVE_SYS_EVENT_H
# ifndef EV_USE_KQUEUE # ifndef EV_USE_KQUEUE
# define EV_USE_KQUEUE EV_FEATURE_BACKENDS # define EV_USE_KQUEUE EV_FEATURE_BACKENDS
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
# undef EV_USE_KQUEUE # undef EV_USE_KQUEUE
# define EV_USE_KQUEUE 0 # define EV_USE_KQUEUE 0
# endif # endif
# if HAVE_PORT_H && HAVE_PORT_CREATE # if HAVE_PORT_H && HAVE_PORT_CREATE
# ifndef EV_USE_PORT # ifndef EV_USE_PORT
# define EV_USE_PORT EV_FEATURE_BACKENDS # define EV_USE_PORT EV_FEATURE_BACKENDS
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
# undef EV_USE_EVENTFD # undef EV_USE_EVENTFD
# define EV_USE_EVENTFD 0 # define EV_USE_EVENTFD 0
# endif # endif
#endif #endif
#include <stdlib.h> #include <stdlib.h>
...@@ -1941,8 +1941,8 @@ array_nextsize (int elem, int cur, int cnt) ...@@ -1941,8 +1941,8 @@ array_nextsize (int elem, int cur, int cnt)
return ncur; return ncur;
} }
/* gevent: remove noinline, breaks all the appveyor builds */
static void * noinline ecb_cold static void * ecb_cold
array_realloc (int elem, void *base, int *cur, int cnt) array_realloc (int elem, void *base, int *cur, int cnt)
{ {
*cur = array_nextsize (elem, *cur, cnt); *cur = array_nextsize (elem, *cur, cnt);
...@@ -2307,7 +2307,7 @@ downheap (ANHE *heap, int N, int k) ...@@ -2307,7 +2307,7 @@ downheap (ANHE *heap, int N, int k)
heap [k] = heap [c]; heap [k] = heap [c];
ev_active (ANHE_w (heap [k])) = k; ev_active (ANHE_w (heap [k])) = k;
k = c; k = c;
} }
...@@ -2727,7 +2727,7 @@ ev_supported_backends (void) EV_THROW ...@@ -2727,7 +2727,7 @@ ev_supported_backends (void) EV_THROW
if (EV_USE_EPOLL ) flags |= EVBACKEND_EPOLL; if (EV_USE_EPOLL ) flags |= EVBACKEND_EPOLL;
if (EV_USE_POLL ) flags |= EVBACKEND_POLL; if (EV_USE_POLL ) flags |= EVBACKEND_POLL;
if (EV_USE_SELECT) flags |= EVBACKEND_SELECT; if (EV_USE_SELECT) flags |= EVBACKEND_SELECT;
return flags; return flags;
} }
...@@ -5094,4 +5094,3 @@ ev_walk (EV_P_ int types, void (*cb)(EV_P_ int type, void *w)) EV_THROW ...@@ -5094,4 +5094,3 @@ ev_walk (EV_P_ int types, void (*cb)(EV_P_ int type, void *w)) EV_THROW
#if EV_MULTIPLICITY #if EV_MULTIPLICITY
#include "ev_wrap.h" #include "ev_wrap.h"
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment