mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
65285fbdb8
Import bigdecimal version 1.3.2. The full commit log is here: https://github.com/ruby/bigdecimal/compare/v1.3.1...v1.3.2 This fixes [ruby-core:79603] [Bug #13232] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
17 lines
429 B
Ruby
17 lines
429 B
Ruby
# frozen_string_literal: false
|
|
require 'mkmf'
|
|
|
|
alias __have_macro__ have_macro
|
|
|
|
have_func("labs", "stdlib.h")
|
|
have_func("llabs", "stdlib.h")
|
|
have_func("finite", "math.h")
|
|
have_func("isfinite", "math.h")
|
|
|
|
have_type("struct RRational", "ruby.h")
|
|
have_func("rb_rational_num", "ruby.h")
|
|
have_func("rb_rational_den", "ruby.h")
|
|
have_func("rb_array_const_ptr", "ruby.h")
|
|
have_func("rb_sym2str", "ruby.h")
|
|
|
|
create_makefile('bigdecimal')
|