summaryrefslogtreecommitdiff
path: root/rational.c
diff options
context:
space:
mode:
author卜部昌平 <shyouhei@ruby-lang.org>2020-04-18 05:40:57 +0900
committer卜部昌平 <shyouhei@ruby-lang.org>2020-04-21 13:07:19 +0900
commit32623150cd389f1cdc6a840ec88ce9d1e2a43a87 (patch)
tree88933a4634c9715cc471c38f2fbce21c5b18998a /rational.c
parent735e035bf54e018fa629f6601d882fc0b097e1fc (diff)
reroute redefinition of NDEBUG
NDEBUG can be defined via a command-line argument. Should take care of such situations.
Diffstat (limited to 'rational.c')
-rw-r--r--rational.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rational.c b/rational.c
index b828ec1e39..f94bf921c7 100644
--- a/rational.c
+++ b/rational.c
@@ -20,6 +20,7 @@
#include <gmp.h>
#endif
+#undef NDEBUG
#define NDEBUG
#include "id.h"
#include "internal.h"