mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
10 lines
282 B
C
10 lines
282 B
C
#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
|