summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-12-25 09:51:45 +0900
committerKoichi Sasada <ko1@atdot.net>2020-12-25 09:52:18 +0900
commit45f3d481064c64e3fa1a9c75d215d12d5c7d729e (patch)
tree95f332f736bf60b83fc28e26e2f70e6aba060473
parent93a1ef67095c6654df753b2ecf8a4e36fe2a22c6 (diff)
USE_RUBY_DEBUG_LOG is not defined !devel build
-rw-r--r--debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/debug.c b/debug.c
index 5548a00934..75d4cc6569 100644
--- a/debug.c
+++ b/debug.c
@@ -245,7 +245,9 @@ set_debug_option(const char *str, int len, void *arg)
}
}
+#ifdef USE_RUBY_DEBUG_LOG
STATIC_ASSERT(USE_RUBY_DEBUG_LOG, USE_RUBY_DEBUG_LOG ? RUBY_DEVEL : 1);
+#endif
#if RUBY_DEVEL
static void setup_debug_log(void);