mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix compilation errors for c99
ENUM_OVER_INT is sometimes not defined. Use #ifdef instead if #if.
This commit is contained in:
parent
370949aad6
commit
b57c7be6a9
Notes:
git
2021-05-05 09:38:23 +09:00
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ ruby_fl_type {
|
|||
RBIMPL_FL_USER_N(16),
|
||||
RBIMPL_FL_USER_N(17),
|
||||
RBIMPL_FL_USER_N(18),
|
||||
#if ENUM_OVER_INT
|
||||
#ifdef ENUM_OVER_INT
|
||||
RBIMPL_FL_USER_N(19),
|
||||
#else
|
||||
# define RUBY_FL_USER19 (RBIMPL_VALUE_ONE<<(RUBY_FL_USHIFT+19))
|
||||
|
|
Loading…
Reference in a new issue