1
0
Fork 0
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:
Peter Zhu 2021-05-04 21:29:20 +00:00
parent 370949aad6
commit b57c7be6a9
Notes: git 2021-05-05 09:38:23 +09:00

View file

@ -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))