From b57c7be6a98a4739569f5ddc45095c8c59fa7512 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Tue, 4 May 2021 21:29:20 +0000 Subject: [PATCH] Fix compilation errors for c99 ENUM_OVER_INT is sometimes not defined. Use #ifdef instead if #if. --- include/ruby/internal/fl_type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ruby/internal/fl_type.h b/include/ruby/internal/fl_type.h index 4696bfe2d3..1d570c4743 100644 --- a/include/ruby/internal/fl_type.h +++ b/include/ruby/internal/fl_type.h @@ -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))