aboutsummaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-13 02:04:10 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-13 02:04:10 +0000
commit8022385ba4d7031031372846d62d686422c108ed (patch)
tree2571cd2c36d27cb3d7b679768e4834217c30a4b0 /debug.c
parent5ba5d4c889a4f80f39be65d52746e4528b6f20e2 (diff)
downloadruby-8022385ba4d7031031372846d62d686422c108ed.tar.gz
* debug.c (ruby_set_debug_option): define always for binary
compatibility with debug env enabled binary. * signal.c (ruby_enable_coredump): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/debug.c b/debug.c
index 02fa9292a2..4959f922f6 100644
--- a/debug.c
+++ b/debug.c
@@ -136,7 +136,6 @@ ruby_debug_breakpoint(void)
/* */
}
-#ifdef RUBY_DEBUG_ENV
static void
set_debug_option(const char *str, int len, void *arg)
{
@@ -161,4 +160,3 @@ ruby_set_debug_option(const char *str)
{
ruby_each_words(str, set_debug_option, 0);
}
-#endif