aboutsummaryrefslogtreecommitdiffstats
path: root/rational.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-22 08:33:55 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-22 08:33:55 +0000
commit439224a5904411b288e441096e21a41244ddd1d6 (patch)
treea471f6b0e76c590f04579e62d1834c915b9eb322 /rational.c
parente5850a80d69531be3c62468b7c88d91f30b0490b (diff)
downloadruby-439224a5904411b288e441096e21a41244ddd1d6.tar.gz
RUBY_ASSERT
* error.c (rb_assert_failure): assertion with stack dump. * ruby_assert.h (RUBY_ASSERT): new header for the assertion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rational.c')
-rw-r--r--rational.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rational.c b/rational.c
index 0f3167a7e0..2359f0e3b5 100644
--- a/rational.c
+++ b/rational.c
@@ -14,7 +14,7 @@
#endif
#define NDEBUG
-#include <assert.h>
+#include "ruby_assert.h"
#if defined(HAVE_LIBGMP) && defined(HAVE_GMP_H)
#define USE_GMP