]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.7] bpo-35147: Fix _Py_NO_RETURN for GCC (GH-10300) (GH-10301) 10312/head
authorAlexey Izbyshev <izbyshev@ispras.ru>
Sat, 3 Nov 2018 01:30:11 +0000 (04:30 +0300)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 3 Nov 2018 01:30:11 +0000 (18:30 -0700)
commita9122d183b1fbc4484d72aec69fc0979c7fd91f2
tree00d051bf88180fbd5db014edfd2e824c8415bedf
parent08026b103ea8f4c9f2b5045ef7806dd8b760da2b
[3.7] bpo-35147: Fix _Py_NO_RETURN for GCC (GH-10300) (GH-10301)

Use `__GNUC__` instead of non-existing `__GNUC_MAJOR__`.

(cherry picked from commit e2ed5adcb5db2d70cfa72da1ba8446f7aa9e05cd)

https://bugs.python.org/issue35147
Include/pyerrors.h