summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-15 07:04:48 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-15 07:04:48 (GMT)
commit0f4d856d4ddd82638f2ee525ddb8fb4fd5dc1a17 (patch)
tree33ca93613496083bf996c4e5e433323278f14f56 /main.c
parent895954ef91c974ceff829e0d06132853e87377ea (diff)
define RUBY_DEBUG_ENV only for main.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58724 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 16da117..764d947 100644
--- a/main.c
+++ b/main.c
@@ -15,6 +15,9 @@
#ifdef HAVE_LOCALE_H
#include <locale.h>
#endif
+#if defined RUBY_DEBUG_ENV && !RUBY_DEBUG_ENV
+# undef RUBY_DEBUG_ENV
+#endif
#ifdef RUBY_DEBUG_ENV
#include <stdlib.h>
#endif