summaryrefslogtreecommitdiff
path: root/math.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-08-27 12:42:23 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-08-27 12:42:23 +0900
commit80c1faf0769abfb459c5c749206ed02311d8274b (patch)
tree0d3f032106e6a6061d21903e0e42598e7bc34baa /math.c
parent04be8e84db1cf4f8b2a7bc7679eda4336da75d43 (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.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/math.c b/math.c
index dd98d8806e..429826763d 100644
--- a/math.c
+++ b/math.c
@@ -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;