Commit 9bf4b495 authored by Bobby Powers's avatar Bobby Powers Committed by Denis Bilenko

callbacks: make sure GIL_DECLARE is always defined

parent 4256a1a4
...@@ -49,6 +49,7 @@ static CYTHON_INLINE void gevent_check_signals(struct PyGeventLoopObject* loop) ...@@ -49,6 +49,7 @@ static CYTHON_INLINE void gevent_check_signals(struct PyGeventLoopObject* loop)
#define GIL_ENSURE ___save = PyGILState_Ensure(); #define GIL_ENSURE ___save = PyGILState_Ensure();
#define GIL_RELEASE PyGILState_Release(___save); #define GIL_RELEASE PyGILState_Release(___save);
#else #else
#define GIL_DECLARE
#define GIL_ENSURE #define GIL_ENSURE
#define GIL_RELEASE #define GIL_RELEASE
#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