ext/bigdecimal/bigdecimal.c, ext/date/date_core.c: undef NDEBUG
`#define NDEBUG` produces "macro redefined" warnings when it is already defined via cppflags
This commit is contained in:
parent
3bca1b6aad
commit
61d451d6ce
@ -14,6 +14,7 @@
|
||||
#include "ruby/util.h"
|
||||
|
||||
#ifndef BIGDECIMAL_DEBUG
|
||||
# undef NDEBUG
|
||||
# define NDEBUG
|
||||
#endif
|
||||
#include <assert.h>
|
||||
|
@ -11,6 +11,7 @@
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#undef NDEBUG
|
||||
#define NDEBUG
|
||||
#include <assert.h>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user