mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
GCC doesn't support typeof in strict ansi mode (e.g. -ansi or -std=c89)
This commit is contained in:
parent
3b9493b53c
commit
fd0ddab97b
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
|||
error (see Py_BUILD_ASSERT_EXPR).
|
||||
|
||||
Written by Rusty Russell, public domain, http://ccodearchive.net/ */
|
||||
#if defined(__GNUC__)
|
||||
#if (defined(__GNUC__) && !defined(__STRICT_ANSI__))
|
||||
/* 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