summaryrefslogtreecommitdiff
path: root/ext/bigdecimal
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2020-05-13 13:49:21 +0900
committerYusuke Endoh <mame@ruby-lang.org>2020-05-13 13:49:21 +0900
commit61d451d6cec0aa290e5f550f449d067833979b2b (patch)
treea7339636e3dabc73735cff820224bd282607947f /ext/bigdecimal
parent3bca1b6aadff1faf1c2308cd4eb7dd58948a47d8 (diff)
ext/bigdecimal/bigdecimal.c, ext/date/date_core.c: undef NDEBUG
`#define NDEBUG` produces "macro redefined" warnings when it is already defined via cppflags
Diffstat (limited to 'ext/bigdecimal')
-rw-r--r--ext/bigdecimal/bigdecimal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c
index ecd43fd..c442335 100644
--- a/ext/bigdecimal/bigdecimal.c
+++ b/ext/bigdecimal/bigdecimal.c
@@ -14,6 +14,7 @@
#include "ruby/util.h"
#ifndef BIGDECIMAL_DEBUG
+# undef NDEBUG
# define NDEBUG
#endif
#include <assert.h>