We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8df1397 commit ca75b00Copy full SHA for ca75b00
1 file changed
Include/pyerrors.h
@@ -87,7 +87,7 @@ PyAPI_FUNC(void) PyErr_GetExcInfo(PyObject **, PyObject **, PyObject **);
87
PyAPI_FUNC(void) PyErr_SetExcInfo(PyObject *, PyObject *, PyObject *);
88
89
#if defined(__clang__) || \
90
- (defined(__GNUC__) && \
+ (defined(__GNUC_MAJOR__) && \
91
((__GNUC_MAJOR__ >= 3) || \
92
(__GNUC_MAJOR__ == 2) && (__GNUC_MINOR__ >= 5)))
93
#define _Py_NO_RETURN __attribute__((__noreturn__))
0 commit comments