mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update include/ruby/assert.h
Co-authored-by: 卜部昌平 <shyouhei@ruby-lang.org>
This commit is contained in:
parent
21991e6ca5
commit
4ac42874bc
Notes:
git
2020-05-26 03:21:51 +09:00
1 changed files with 7 additions and 1 deletions
|
@ -32,7 +32,13 @@
|
|||
#endif
|
||||
|
||||
#if RUBY_DEBUG > 0 && defined(NDEBUG)
|
||||
#warning NDEBUG is ignored because RUBY_DEBUG>0.
|
||||
#if defined(_MSC_VER)
|
||||
# pragma message("NDEBUG is ignored because RUBY_DEBUG>0.")
|
||||
#elif defined(__GNUC__)
|
||||
# pragma GCC warning "NDEBUG is ignored because RUBY_DEBUG>0."
|
||||
#else
|
||||
# error NDEBUG is ignored because RUBY_DEBUG>0.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue