Ruby 2.7.7p221 (2022-11-24 revision 168ec2b1e5ad0e4688e963d9de019557c78feed9)
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