summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-04-13 22:06:36 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-04-13 22:06:36 (GMT)
commit3bf01757b668eefd9cd2b80887ca824ef3dca777 (patch)
tree21fefea37f4f0748e94155efa20b155b68340ef2 /Python
parent43162b8a02f278c74feb8bba7f20d93445198b60 (diff)
downloadcpython-3bf01757b668eefd9cd2b80887ca824ef3dca777.zip
cpython-3bf01757b668eefd9cd2b80887ca824ef3dca777.tar.gz
cpython-3bf01757b668eefd9cd2b80887ca824ef3dca777.tar.bz2
move outside WITH_THREAD conditional
Diffstat (limited to 'Python')
-rw-r--r--Python/pystate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pystate.c b/Python/pystate.c
index 9fc4c12..31b5423 100644
--- a/Python/pystate.c
+++ b/Python/pystate.c
@@ -726,10 +726,10 @@ PyGILState_Release(PyGILState_STATE oldstate)
PyEval_SaveThread();
}
+#endif /* WITH_THREAD */
+
#ifdef __cplusplus
}
#endif
-#endif /* WITH_THREAD */
-