Commit 09847a36 authored by Denis Bilenko's avatar Denis Bilenko

add "#ifdef Py_PYTHON_H" guard to callbacks.c

parent 951b0cf9
#ifdef Py_PYTHON_H
static void gevent_handle_error(struct PyGeventLoopObject* loop, PyObject* context) {
PyThreadState *tstate;
PyObject *type, *value, *traceback, *result;
......@@ -156,4 +158,6 @@ static void gevent_periodic_signal_check(struct ev_loop *_loop, void *watcher, i
GIL_RELEASE;
}
#endif
#endif /* _WIN32 */
#endif /* Py_PYTHON_H */
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