summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-07-12 16:30:27 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-07-12 17:13:57 +0900
commit8b98b9e274ea0a749044e044ee03ee1095aa75d0 (patch)
treed0b61eaa4f113e8dfc755515f8bce0741a425907 /compile.c
parentba8f3d2c6c5b2386a9fe36b12089ad4e4120859a (diff)
Check only whether `RUBY_DEVEL` is defined
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index 08895134bd..17f870e3e5 100644
--- a/compile.c
+++ b/compile.c
@@ -10713,7 +10713,7 @@ typedef unsigned int ibf_offset_t;
#define IBF_OFFSET(ptr) ((ibf_offset_t)(VALUE)(ptr))
#define IBF_MAJOR_VERSION ISEQ_MAJOR_VERSION
-#if RUBY_DEVEL
+#ifdef RUBY_DEVEL
#define IBF_DEVEL_VERSION 4
#define IBF_MINOR_VERSION (ISEQ_MINOR_VERSION * 10000 + IBF_DEVEL_VERSION)
#else