summaryrefslogtreecommitdiff
path: root/main.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 /main.c
parentba8f3d2c6c5b2386a9fe36b12089ad4e4120859a (diff)
downloadruby-8b98b9e274ea0a749044e044ee03ee1095aa75d0.tar.gz
Check only whether `RUBY_DEVEL` is defined
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index e76228713f..0d0ec147cd 100644
--- a/main.c
+++ b/main.c
@@ -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