bpo-40096: Support __attribute__((__noreturn__)) on xlc (GH-19204)

This commit is contained in:
Batuhan Taşkaya 2020-03-29 18:52:32 +03:00 committed by GitHub
parent 016bdd519d
commit 0003c2dc1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -832,6 +832,7 @@ extern _invalid_parameter_handler _Py_silent_invalid_parameter_handler;
PyAPI_FUNC(void) _Py_NO_RETURN PyThread_exit_thread(void); */
#if defined(__clang__) || \
defined(__xlc__) || \
(defined(__GNUC__) && \
((__GNUC__ >= 3) || \
(__GNUC__ == 2) && (__GNUC_MINOR__ >= 5)))