Kaydet (Commit) fd0ddab9 authored tarafından Christian Heimes's avatar Christian Heimes

GCC doesn't support typeof in strict ansi mode (e.g. -ansi or -std=c89)

üst 3b9493b5
......@@ -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) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment