mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fix trivial -Wundef warnings
* See [Feature #17752] Co-authored-by: xtkoba (Tee KOBAYASHI) <xtkoba+ruby@gmail.com>
This commit is contained in:
parent
229cbeba8c
commit
68d6bd0873
Notes:
git
2021-05-04 21:57:21 +09:00
16 changed files with 21 additions and 19 deletions
|
@ -37,7 +37,7 @@
|
|||
#endif
|
||||
|
||||
/** Enables #RBIMPL_ATTR_CONST if and only if. ! #RUBY_DEBUG. */
|
||||
#if !RUBY_DEBUG
|
||||
#if !defined(RUBY_DEBUG) || !RUBY_DEBUG
|
||||
# define RBIMPL_ATTR_CONST_UNLESS_DEBUG() RBIMPL_ATTR_CONST()
|
||||
#else
|
||||
# define RBIMPL_ATTR_CONST_UNLESS_DEBUG() /* void */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue