diff options
author | Kenta Murata <mrkn@mrkn.jp> | 2020-12-29 17:14:36 +0900 |
---|---|---|
committer | Kenta Murata <mrkn@mrkn.jp> | 2020-12-29 17:46:37 +0900 |
commit | 47a1f5ff738c5f14f4ffd7def3536b61ce1f9ff0 (patch) | |
tree | b36eaf73b81fea138ba92aa362807715cd64ee42 /ext/bigdecimal/extconf.rb | |
parent | 29d012c9641fa53464a03cc682b6a0f5bf7888df (diff) |
[ruby/bigdecimal] Define bool, true, and false for old Ruby
https://github.com/ruby/bigdecimal/commit/a6d3bd2d44
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 63123e2892..41b8df8d5b 100644 --- a/ext/bigdecimal/extconf.rb +++ b/ext/bigdecimal/extconf.rb @@ -28,6 +28,8 @@ end check_bigdecimal_version(gemspec_path) +have_header("stdbool.h") + have_func("labs", "stdlib.h") have_func("llabs", "stdlib.h") have_func("finite", "math.h") |