diff options
-rw-r--r-- | Objects/obmalloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c index 0ca8f2bcaf..840570e06c 100644 --- a/Objects/obmalloc.c +++ b/Objects/obmalloc.c @@ -691,7 +691,8 @@ extremely desirable that it be this fast. #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__)) #else #define Py_NO_INLINE |