diff options
author | Christian Heimes <christian@cheimes.de> | 2013-06-24 13:39:58 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-06-24 13:39:58 (GMT) |
commit | b3cc7eb74aff370848864fc864eefd94d2b4fb78 (patch) | |
tree | dbb58c05c50f5692709325c0d452091443ec48d0 | |
parent | b4f39eea497fc5374835efb70261a3dc9211e810 (diff) | |
parent | e0a2d12ee5d04b3ce2f197aa1267c7a34ed4bd8e (diff) | |
download | cpython-b3cc7eb74aff370848864fc864eefd94d2b4fb78.zip cpython-b3cc7eb74aff370848864fc864eefd94d2b4fb78.tar.gz cpython-b3cc7eb74aff370848864fc864eefd94d2b4fb78.tar.bz2 |
Fix test for GCC 3.1+ but not strict ANSI C
-rw-r--r-- | Include/pymacro.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pymacro.h b/Include/pymacro.h index 5bb4b3d..793f67d 100644 --- a/Include/pymacro.h +++ b/Include/pymacro.h @@ -33,7 +33,7 @@ Requires at GCC 3.1+ */ #if (defined(__GNUC__) && !defined(__STRICT_ANSI__) && \ - ((__GNUC__ == 3) && (__GNU_MINOR__ >= 1)) || (__GNUC__ >= 4)) + (((__GNUC__ == 3) && (__GNU_MINOR__ >= 1)) || (__GNUC__ >= 4))) /* Two gcc extensions. &a[0] degrades to a pointer: a different type from an array */ #define Py_ARRAY_LENGTH(array) \ |