diff options
author | Nobuyoshi Nakada <[email protected]> | 2021-12-25 16:50:14 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-12-25 18:04:25 +0900 |
commit | 566bdaef318674c416494786da551021afb1b5d7 (patch) | |
tree | 54d8d542ef5fb0978c89ce8a5f2f9f593c4bcf94 /vm_debug.h | |
parent | 0867b638aff9ec192ca420a44ffa5a77c892e8f2 (diff) |
Define fallback RUBY_DEVEL to suppress undef warnings
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5345
Diffstat (limited to 'vm_debug.h')
-rw-r--r-- | vm_debug.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vm_debug.h b/vm_debug.h index 230f0f7b16..fa70de334d 100644 --- a/vm_debug.h +++ b/vm_debug.h @@ -31,6 +31,10 @@ void ruby_set_debug_option(const char *str); RUBY_SYMBOL_EXPORT_END +#ifndef RUBY_DEVEL +# define RUBY_DEVEL 0 +#endif + #if RUBY_DEVEL #ifndef USE_RUBY_DEBUG_LOG #define USE_RUBY_DEBUG_LOG 0 |