aboutsummaryrefslogtreecommitdiffstats
path: root/vm_sync.h
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2021-12-28 17:58:39 +0900
committerKoichi Sasada <ko1@atdot.net>2021-12-29 00:22:02 +0900
commitc9af8a32a05b26d45c5c8967902b3a724f3c1be6 (patch)
tree1ddf2e3ae5dd1998c7eff2c317223bc06f6db01b /vm_sync.h
parent763592d208883714f3d255eb5fb1bee649e9613b (diff)
downloadruby-c9af8a32a05b26d45c5c8967902b3a724f3c1be6.tar.gz
`USE_RUBY_DEBUG_LOG` doesn't check `RUBY_DEVEL`
`USE_RUBY_DEBUG_LOG` was only defined when `RUBY_DEVEL` is defined. This patch removes this dependency (`USE_RUBY_DEBUG_LOG` is defined independently from `RUBY_DEVEL`). Do not commit a patch which enables `USE_RUBY_DEBUG_LOG`.
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 0969e5bfc9..4d83b5e52c 100644
--- a/vm_sync.h
+++ b/vm_sync.h
@@ -4,7 +4,7 @@
#include "vm_debug.h"
#include "debug_counter.h"
-#if defined(USE_RUBY_DEBUG_LOG) && USE_RUBY_DEBUG_LOG
+#if 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