Commit 2a1c064a by Michael Forney Committed by Jeff Law

cp-demangle.c: Don't define CP_DYNAMIC_ARRAYS if __STDC_NO_VLA__ is non-zero.

	* cp-demangle.c: Don't define CP_DYNAMIC_ARRAYS if __STDC_NO_VLA__
	is non-zero.

From-SVN: r271819
parent 4d12cf3c
2019-05-31 Michael Forney <mforney@mforney.org>
* cp-demangle.c: Don't define CP_DYNAMIC_ARRAYS if __STDC_NO_VLA__
is non-zero.
2019-04-30 Ben L <bobsayshilol@live.co.uk> 2019-04-30 Ben L <bobsayshilol@live.co.uk>
* d-demangle.c (dlang_parse_assocarray): Correctly handle error result. * d-demangle.c (dlang_parse_assocarray): Correctly handle error result.
......
...@@ -192,9 +192,9 @@ static void d_init_info (const char *, int, size_t, struct d_info *); ...@@ -192,9 +192,9 @@ static void d_init_info (const char *, int, size_t, struct d_info *);
#else #else
#ifdef __STDC__ #ifdef __STDC__
#ifdef __STDC_VERSION__ #ifdef __STDC_VERSION__
#if __STDC_VERSION__ >= 199901L #if __STDC_VERSION__ >= 199901L && !__STDC_NO_VLA__
#define CP_DYNAMIC_ARRAYS #define CP_DYNAMIC_ARRAYS
#endif /* __STDC__VERSION >= 199901L */ #endif /* __STDC_VERSION__ >= 199901L && !__STDC_NO_VLA__ */
#endif /* defined (__STDC_VERSION__) */ #endif /* defined (__STDC_VERSION__) */
#endif /* defined (__STDC__) */ #endif /* defined (__STDC__) */
#endif /* ! defined (__GNUC__) */ #endif /* ! defined (__GNUC__) */
......
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