summaryrefslogtreecommitdiff
path: root/ruby_assert.h
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_assert.h')
-rw-r--r--ruby_assert.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ruby_assert.h b/ruby_assert.h
index de80491..3383e4f 100644
--- a/ruby_assert.h
+++ b/ruby_assert.h
@@ -31,7 +31,7 @@ NORETURN(void rb_assert_failure(const char *, int, const char *, const char *));
RUBY_ASSERT_MESG(!(cond) || (expr), mesg)
#endif
#define RUBY_ASSERT(expr) RUBY_ASSERT_MESG_WHEN(!RUBY_NDEBUG+0, expr, #expr)
-#define RUBY_ASSERT_WHEN(cond, expr) RUBY_ASSERT_WHEN_0(cond, expr, #expr)
+#define RUBY_ASSERT_WHEN(cond, expr) RUBY_ASSERT_MESG_WHEN(cond, expr, #expr)
#undef assert
#define assert RUBY_ASSERT