summaryrefslogtreecommitdiffstats
path: root/Include/pymacro.h
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-06-24 13:39:41 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-06-24 13:39:41 (GMT)
commite0a2d12ee5d04b3ce2f197aa1267c7a34ed4bd8e (patch)
tree9724a5ba64c7f04a4fcb376f02187dcb5f10656d /Include/pymacro.h
parent91e8b8180d5a21ab034044953e0571ecd1f8a154 (diff)
downloadcpython-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.h2
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) \