summaryrefslogtreecommitdiff
path: root/vm_sync.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-12-25 17:09:19 +0900
committerNARUSE, Yui <naruse@airemix.jp>2021-12-25 18:39:24 +0900
commit12bbae2d4e8dc9cadeb69bf9a2459c510fa2bba5 (patch)
treebc5bd529f7c7aba866d5f18b669d62905aa401b9 /vm_sync.h
parent17b48db00f6248fcd42ced7b398f1dcc36ec4dca (diff)
Suppress undef warnings for USE_RUBY_DEBUG_LOG
(cherry picked from commit 975a6efd7ea144275d4774d18ff0f568c1a1dc97)
Diffstat (limited to 'vm_sync.h')
-rw-r--r--vm_sync.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_sync.h b/vm_sync.h
index 4d83b5e52c..0969e5bfc9 100644
--- a/vm_sync.h
+++ b/vm_sync.h
@@ -4,7 +4,7 @@
#include "vm_debug.h"
#include "debug_counter.h"
-#if USE_RUBY_DEBUG_LOG
+#if defined(USE_RUBY_DEBUG_LOG) && USE_RUBY_DEBUG_LOG
#define LOCATION_ARGS const char *file, int line
#define LOCATION_PARAMS file, line
#define APPEND_LOCATION_ARGS , const char *file, int line