diff --git a/Include/pyport.h b/Include/pyport.h index 64c73f012e7a71..72e74e046a5ee3 100644 --- a/Include/pyport.h +++ b/Include/pyport.h @@ -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)))