diff --git a/Python/pystate.c b/Python/pystate.c index 70ade98285d..d7d127b2559 100644 --- a/Python/pystate.c +++ b/Python/pystate.c @@ -653,10 +653,10 @@ PyGILState_Release(PyGILState_STATE oldstate) PyEval_SaveThread(); } +#endif /* WITH_THREAD */ + #ifdef __cplusplus } #endif -#endif /* WITH_THREAD */ -