diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-08-27 12:42:23 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-08-27 12:42:23 +0900 |
commit | 80c1faf0769abfb459c5c749206ed02311d8274b (patch) | |
tree | 0d3f032106e6a6061d21903e0e42598e7bc34baa /math.c | |
parent | 04be8e84db1cf4f8b2a7bc7679eda4336da75d43 (diff) |
Use C99-defined signbit macro
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4783
Diffstat (limited to 'math.c')
-rw-r--r-- | math.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -26,11 +26,6 @@ #include "internal/object.h" #include "internal/vm.h" -#if defined(HAVE_SIGNBIT) && defined(__GNUC__) && defined(__sun) && \ - !defined(signbit) - extern int signbit(double); -#endif - #define RB_BIGNUM_TYPE_P(x) RB_TYPE_P((x), T_BIGNUM) VALUE rb_mMath; |