]> granicus.if.org Git - python/commitdiff
Fix test for GCC 3.1+ but not strict ANSI C
authorChristian Heimes <christian@cheimes.de>
Mon, 24 Jun 2013 13:39:41 +0000 (15:39 +0200)
committerChristian Heimes <christian@cheimes.de>
Mon, 24 Jun 2013 13:39:41 +0000 (15:39 +0200)
Include/pymacro.h

index 5bb4b3d55ac8f288eaa58c4422ff9b68ce27b405..793f67dce9c688a806c0a5d5dc7c6f5252407a88 100644 (file)
@@ -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) \