diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-07-12 16:30:27 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-07-12 17:13:57 +0900 |
commit | 8b98b9e274ea0a749044e044ee03ee1095aa75d0 (patch) | |
tree | d0b61eaa4f113e8dfc755515f8bce0741a425907 | |
parent | ba8f3d2c6c5b2386a9fe36b12089ad4e4120859a (diff) |
Check only whether `RUBY_DEVEL` is defined
-rw-r--r-- | compile.c | 2 | ||||
-rw-r--r-- | main.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 @@ -23,7 +23,7 @@ #ifdef HAVE_LOCALE_H #include <locale.h> #endif -#if RUBY_DEVEL && !defined RUBY_DEBUG_ENV +#if defined RUBY_DEVEL && !defined RUBY_DEBUG_ENV # define RUBY_DEBUG_ENV 1 #endif #if defined RUBY_DEBUG_ENV && !RUBY_DEBUG_ENV |