summaryrefslogtreecommitdiff
path: root/include/ruby/internal/attr/constexpr.h
diff options
context:
space:
mode:
author卜部昌平 <[email protected]>2020-08-07 14:01:13 +0900
committerGitHub <[email protected]>2020-08-07 14:01:13 +0900
commit504e632a15a7886ff693a0162e998aed35d7b2ac (patch)
tree0808b1bd746f1615e7635582ca7915fd26d1036f /include/ruby/internal/attr/constexpr.h
parent8a99f820ce208b6d9ddb9d679108b174977514c3 (diff)
sync NDEBUG, RUBY_DEBUG, and RUBY_NDEBUG (#3327)
- When NDEBUG is defined that shall be honoured. - When RUBY_DEBUG is defined that shall be honoured. - When both are defined and they conflict, warnings shall be rendered. - When nothing is specified, nothing shall happen.
Notes
Notes: Merged-By: shyouhei <[email protected]>
Diffstat (limited to 'include/ruby/internal/attr/constexpr.h')
-rw-r--r--include/ruby/internal/attr/constexpr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/internal/attr/constexpr.h b/include/ruby/internal/attr/constexpr.h
index 6d81d342a2..96b010ce6f 100644
--- a/include/ruby/internal/attr/constexpr.h
+++ b/include/ruby/internal/attr/constexpr.h
@@ -75,7 +75,7 @@
# define RBIMPL_ATTR_CONSTEXPR(_) /* void */
#endif
-/** Enables #RBIMPL_ATTR_CONSTEXPR iff. !RUBY_DEBUG. */
+/** Enables #RBIMPL_ATTR_CONSTEXPR iff. ! #RUBY_DEBUG. */
#if !RUBY_DEBUG
# define RBIMPL_ATTR_CONSTEXPR_UNLESS_DEBUG(_) RBIMPL_ATTR_CONSTEXPR(_)
#else