mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Fix test for GCC 3.1+ but not strict ANSI C
This commit is contained in:
parent
91e8b8180d
commit
e0a2d12ee5
1 changed files with 1 additions and 1 deletions
|
@ -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) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue