Ruby  2.7.2p137(2020-10-01revision5445e0435260b449decf2ac16f9d09bae3cafe72)
ruby_assert.h
Go to the documentation of this file.
1 #include "ruby/assert.h"
2 
3 #if !defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L)
4 /* C89 compilers are required to support strings of only 509 chars. */
5 /* can't use RUBY_ASSERT for such compilers. */
6 #include <assert.h>
7 #else
8 #undef assert
9 #define assert RUBY_ASSERT
10 #endif
11 
12 #ifdef NDEBUG
13  #undef RUBY_NDEBUG
14  #define RUBY_NDEBUG 1
15 #endif
assert.h