Don't inline Py_ADDRESS_IN_RANGE with gcc 4+ either.
Will backport.
This commit is contained in:
parent
e7e4e2dfab
commit
ab77227470
|
@ -691,7 +691,8 @@ extremely desirable that it be this fast.
|
||||||
|
|
||||||
#undef Py_ADDRESS_IN_RANGE
|
#undef Py_ADDRESS_IN_RANGE
|
||||||
|
|
||||||
#if defined(__GNUC__) && (__GNUC__ == 3) && (__GNUC_MINOR__ >= 1)
|
#if defined(__GNUC__) && ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1) || \
|
||||||
|
(__GNUC__ >= 4))
|
||||||
#define Py_NO_INLINE __attribute__((__noinline__))
|
#define Py_NO_INLINE __attribute__((__noinline__))
|
||||||
#else
|
#else
|
||||||
#define Py_NO_INLINE
|
#define Py_NO_INLINE
|
||||||
|
|
Loading…
Reference in New Issue