diff options
author | Christian Heimes <christian@cheimes.de> | 2013-06-24 13:39:41 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2013-06-24 13:39:41 (GMT) |
commit | e0a2d12ee5d04b3ce2f197aa1267c7a34ed4bd8e (patch) | |
tree | 9724a5ba64c7f04a4fcb376f02187dcb5f10656d /Include/pymacro.h | |
parent | 91e8b8180d5a21ab034044953e0571ecd1f8a154 (diff) | |
download | cpython-e0a2d12ee5d04b3ce2f197aa1267c7a34ed4bd8e.zip cpython-e0a2d12ee5d04b3ce2f197aa1267c7a34ed4bd8e.tar.gz cpython-e0a2d12ee5d04b3ce2f197aa1267c7a34ed4bd8e.tar.bz2 |
Fix test for GCC 3.1+ but not strict ANSI C
Diffstat (limited to 'Include/pymacro.h')
-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) \ |