blob: fa15da1e25eb38add1fdd8747fe58b25aa8e9b20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include "ruby/assert.h"
#if !defined(__STDC_VERSION__) || (__STDC_VERSION__ < 199901L)
/* C89 compilers are required to support strings of only 509 chars. */
/* can't use RUBY_ASSERT for such compilers. */
#include <assert.h>
#else
#undef assert
#define assert RUBY_ASSERT
#endif
#ifdef NDEBUG
#undef RUBY_NDEBUG
#define RUBY_NDEBUG 1
#endif
|