diff options
-rw-r--r-- | Include/pyerrors.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/pyerrors.h b/Include/pyerrors.h index c28c137..44f2030 100644 --- a/Include/pyerrors.h +++ b/Include/pyerrors.h @@ -93,9 +93,9 @@ PyAPI_FUNC(void) PyErr_SetExcInfo(PyObject *, PyObject *, PyObject *); #endif #if defined(__clang__) || \ - (defined(__GNUC_MAJOR__) && \ - ((__GNUC_MAJOR__ >= 3) || \ - (__GNUC_MAJOR__ == 2) && (__GNUC_MINOR__ >= 5))) + (defined(__GNUC__) && \ + ((__GNUC__ >= 3) || \ + (__GNUC__ == 2) && (__GNUC_MINOR__ >= 5))) #define _Py_NO_RETURN __attribute__((__noreturn__)) #else #define _Py_NO_RETURN |