Skip to content

Commit

Permalink
Define fallback RUBY_DEVEL to suppress undef warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Dec 25, 2021
1 parent 0867b63 commit 566bdae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vm_debug.h
Expand Up @@ -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
Expand Down

0 comments on commit 566bdae

Please sign in to comment.