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
@ -32,7 +32,13 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if RUBY_DEBUG > 0 && defined(NDEBUG)
|
#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
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user