From 24171da2226cf82bdd46b691d56ccffafb6b30b4 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 30 Jun 2017 04:19:12 +0000 Subject: [PATCH] main.c: RUBY_DEBUG_ENV in devel * main.c (RUBY_DEBUG_ENV): default to enabled in the development version. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.c b/main.c index 764d947af3..6e8ab7b9fe 100644 --- a/main.c +++ b/main.c @@ -15,6 +15,9 @@ #ifdef HAVE_LOCALE_H #include #endif +#if RUBY_DEVEL && !defined RUBY_DEBUG_ENV +# define RUBY_DEBUG_ENV 1 +#endif #if defined RUBY_DEBUG_ENV && !RUBY_DEBUG_ENV # undef RUBY_DEBUG_ENV #endif