From: Christian Heimes Date: Mon, 24 Jun 2013 13:39:41 +0000 (+0200) Subject: Fix test for GCC 3.1+ but not strict ANSI C X-Git-Tag: v3.4.0a1~407^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e0a2d12ee5d04b3ce2f197aa1267c7a34ed4bd8e;p=thirdparty%2FPython%2Fcpython.git Fix test for GCC 3.1+ but not strict ANSI C --- diff --git a/Include/pymacro.h b/Include/pymacro.h index 5bb4b3d55ac8..793f67dce9c6 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) \