From e0a2d12ee5d04b3ce2f197aa1267c7a34ed4bd8e Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Mon, 24 Jun 2013 15:39:41 +0200 Subject: Fix test for GCC 3.1+ but not strict ANSI C --- Include/pymacro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) \ -- cgit v0.12