Ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a25176072e02db9254f0e0c84c805cd)
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