1
0
Fork 0
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:
Koichi Sasada 2021-12-28 17:58:39 +09:00
parent 763592d208
commit c9af8a32a0
Notes: git 2021-12-29 00:22:28 +09:00
5 changed files with 8 additions and 25 deletions

View file

@ -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