mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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`.
This commit is contained in:
parent
763592d208
commit
c9af8a32a0
Notes:
git
2021-12-29 00:22:28 +09:00
5 changed files with 8 additions and 25 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue