summaryrefslogtreecommitdiff
path: root/Python/pystate.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-04-13 18:06:36 -0400
committerBenjamin Peterson <benjamin@python.org>2012-04-13 18:06:36 -0400
commite307451be16e5bf59b38ec5aea76f68c0831fb65 (patch)
tree54f8d854e6e60ae27b8ce0cc9df175173f6bf7f7 /Python/pystate.c
parent02400ac5edf2bf490fede02c696408b0a91e4b64 (diff)
downloadcpython-e307451be16e5bf59b38ec5aea76f68c0831fb65.tar.gz
move outside WITH_THREAD conditional
Diffstat (limited to 'Python/pystate.c')
-rw-r--r--Python/pystate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/pystate.c b/Python/pystate.c
index 9fc4c1262d..31b5423d38 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 */
-