summaryrefslogtreecommitdiff
path: root/complex.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 /complex.c
parent04be8e84db1cf4f8b2a7bc7679eda4336da75d43 (diff)
Use C99-defined signbit macro
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4783
Diffstat (limited to 'complex.c')
-rw-r--r--complex.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/complex.c b/complex.c
index f0dfd2ab78..da69f9197c 100644
--- a/complex.c
+++ b/complex.c
@@ -34,10 +34,6 @@
#else
static VALUE RFLOAT_0;
#endif
-#if defined(HAVE_SIGNBIT) && defined(__GNUC__) && defined(__sun) && \
- !defined(signbit)
-extern int signbit(double);
-#endif
VALUE rb_cComplex;