summaryrefslogtreecommitdiff
path: root/vm_sync.h
diff options
context:
space:
mode:
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