[Python-checkins] cpython (merge 3.3 -> default): Fix test for GCC 3.1+ but not strict ANSI C
christian.heimes
python-checkins at python.org
Mon Jun 24 15:43:26 CEST 2013
http://hg.python.org/cpython/rev/6915dfddb3f6
changeset: 84306:6915dfddb3f6
parent: 84304:7aab60b70f90
parent: 84305:b7bdb41aa534
user: Christian Heimes <christian at cheimes.de>
date: Mon Jun 24 15:39:58 2013 +0200
summary:
Fix test for GCC 3.1+ but not strict ANSI C
files:
Include/pymacro.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Include/pymacro.h b/Include/pymacro.h
--- 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) \
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list