summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-12-25 09:51:45 +0900
committerNARUSE, Yui <naruse@airemix.jp>2020-12-25 09:57:36 +0900
commita628a108fe884d87e527d6f1a46e65ce37b6103e (patch)
tree7b67437982ea4b6b07b6a48a558af95b5ffb11bd
parent3fadf2665a109ca3e9b490aff2100ad190765358 (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);