diff options
author | Kenta Murata <mrkn@mrkn.jp> | 2020-12-19 11:55:46 +0900 |
---|---|---|
committer | Kenta Murata <mrkn@mrkn.jp> | 2020-12-19 22:13:58 +0900 |
commit | 654f6fbf19c0ca2e01765a909b4d952b7f0f5baa (patch) | |
tree | 4596101121252a268228a757e62ace9ffb861fa8 /ext/bigdecimal/extconf.rb | |
parent | ff9e40811c67b1090966b655f7adc0684fc58abe (diff) | |
download | ruby-654f6fbf19c0ca2e01765a909b4d952b7f0f5baa.tar.gz |
[bigdecimal] Make BigDecimal#precs deprecated
https://github.com/ruby/bigdecimal/commit/7e80e6e145
https://github.com/ruby/bigdecimal/commit/0ed7846e8c
Diffstat (limited to 'ext/bigdecimal/extconf.rb')
-rw-r--r-- | ext/bigdecimal/extconf.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/bigdecimal/extconf.rb b/ext/bigdecimal/extconf.rb index fc448ed380..63123e2892 100644 --- a/ext/bigdecimal/extconf.rb +++ b/ext/bigdecimal/extconf.rb @@ -42,6 +42,8 @@ have_func("rb_complex_imag", "ruby.h") have_func("rb_array_const_ptr", "ruby.h") have_func("rb_sym2str", "ruby.h") have_func("rb_opts_exception_p", "ruby.h") +have_func("rb_category_warn", "ruby.h") +have_const("RB_WARN_CATEGORY_DEPRECATED", "ruby.h") if File.file?(File.expand_path('../lib/bigdecimal.rb', __FILE__)) bigdecimal_rb = "$(srcdir)/lib/bigdecimal.rb" |