summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-30 04:19:12 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-30 04:19:12 (GMT)
commit24171da2226cf82bdd46b691d56ccffafb6b30b4 (patch)
tree05442295206d11320013f30aaf3c2be882a7d1ae /main.c
parent703675da951a2ee317e96e51dc4ed845a71ea6ba (diff)
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
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.c b/main.c
index 764d947..6e8ab7b 100644
--- a/main.c
+++ b/main.c
@@ -15,6 +15,9 @@
#ifdef HAVE_LOCALE_H
#include <locale.h>
#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