diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-05-29 02:43:30 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-05-29 02:43:30 +0900 |
commit | b8fadf3a6bc0435a23696bb7dc5a261066e0cf83 (patch) | |
tree | 8067f12fea545ef3204e2236e5293a2d15fa123f /bignum.c | |
parent | 07b2102a88a789100d0b048d527c780eae006c36 (diff) |
Respect BIGNUM_DEBUG defined by command line option
And fixed typo in compilers.yml.
Diffstat (limited to 'bignum.c')
-rw-r--r-- | bignum.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -2906,7 +2906,10 @@ bary_divmod(BDIGIT *qds, size_t qn, BDIGIT *rds, size_t rn, const BDIGIT *xds, s } -#define BIGNUM_DEBUG 0 +#ifndef BIGNUM_DEBUG +# define BIGNUM_DEBUG (0+RUBY_DEBUG) +#endif + #if BIGNUM_DEBUG #define ON_DEBUG(x) do { x; } while (0) static void |