diff options
author | Nobuyoshi Nakada <[email protected]> | 2021-12-25 17:09:19 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-12-25 18:04:25 +0900 |
commit | 975a6efd7ea144275d4774d18ff0f568c1a1dc97 () | |
tree | 29654bf31c7a0628f3a5288a2c5ee75fbfec0e00 /vm_debug.h | |
parent | 566bdaef318674c416494786da551021afb1b5d7 (diff) |
Suppress undef warnings for USE_RUBY_DEBUG_LOG
Notes: Merged: https://.com/ruby/ruby/pull/5345
-rw-r--r-- | vm_debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -101,7 +101,7 @@ bool ruby_debug_log_filter(const char *func_name); // You can use this macro for temporary usage (you should not commit it). #define _RUBY_DEBUG_LOG(...) ruby_debug_log(__FILE__, __LINE__, RUBY_FUNCTION_NAME_STRING, "" __VA_ARGS__) -#if USE_RUBY_DEBUG_LOG # define RUBY_DEBUG_LOG_ENABLED(func_name) \ (ruby_debug_log_mode && ruby_debug_log_filter(func_name)) |