mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
flexible array member is a C99ism
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
91715ee53b
commit
11c19de76b
1 changed files with 3 additions and 1 deletions
|
@ -227,7 +227,9 @@ extern VALUE rb_cBigDecimal;
|
|||
#define VP_SIGN_POSITIVE_INFINITE 3 /* Positive infinite number */
|
||||
#define VP_SIGN_NEGATIVE_INFINITE -3 /* Negative infinite number */
|
||||
|
||||
#ifdef __GNUC__
|
||||
#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)
|
||||
#define FLEXIBLE_ARRAY_SIZE /* */
|
||||
#elif defined(__GNUC__) && !defined(__STRICT_ANSI__)
|
||||
#define FLEXIBLE_ARRAY_SIZE 0
|
||||
#else
|
||||
#define FLEXIBLE_ARRAY_SIZE 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue