summaryrefslogtreecommitdiff
path: root/ext/date
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/date
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/date')
-rw-r--r--ext/date/date_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/date/date_core.c b/ext/date/date_core.c
index ccac90a32e..e44dcc15e2 100644
--- a/ext/date/date_core.c
+++ b/ext/date/date_core.c
@@ -11,6 +11,7 @@
#include <sys/time.h>
#endif
+#undef NDEBUG
#define NDEBUG
#include <assert.h>