summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/debug.c b/debug.c
index 75d4cc6569..e0ff94886b 100644
--- a/debug.c
+++ b/debug.c
@@ -263,6 +263,7 @@ ruby_set_debug_option(const char *str)
}
#if RUBY_DEVEL
+#undef getenv
// RUBY_DEBUG_LOG features
// See vm_debug.h comments for details.