summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-08-01 14:41:25 (GMT)
committerGitHub <noreply@github.com>2018-08-01 14:41:25 (GMT)
commitcfc8831f5ed607048679427f7d76d6cb4f8a2e8a (patch)
tree93887fde4a58d448b9b0488ab75fc55bdbbe1a09 /Python
parentfc96437db4fa95dff99d43d4500beaf12bad5bff (diff)
downloadcpython-cfc8831f5ed607048679427f7d76d6cb4f8a2e8a.zip
cpython-cfc8831f5ed607048679427f7d76d6cb4f8a2e8a.tar.gz
cpython-cfc8831f5ed607048679427f7d76d6cb4f8a2e8a.tar.bz2
Define _Py_NO_RETURN for Microsoft C compiler (GH-8606)
Diffstat (limited to 'Python')
-rw-r--r--Python/pylifecycle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c
index 0729a5f..63f461a 100644
--- a/Python/pylifecycle.c
+++ b/Python/pylifecycle.c
@@ -2212,7 +2212,7 @@ call_ll_exitfuncs(void)
fflush(stderr);
}
-void
+void _Py_NO_RETURN
Py_Exit(int sts)
{
if (Py_FinalizeEx() < 0) {