summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-05 02:59:33 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-05 02:59:33 +0000
commitee48a9199384d13a2743b6c2860b18af5c759ad4 (patch)
tree4c664892b2a282fae4a743476c424a0b50a90599 /win32
parentef7d0431a0c59839f555123ccd5ad06418209c0c (diff)
* win32/win32.c (signbit): defined on mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 54f0940250..2ccb9d1511 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -5273,6 +5273,7 @@ _ftol2_sse(double d)
}
#endif
+#ifndef signbit
int
signbit(double x)
{
@@ -5283,3 +5284,4 @@ signbit(double x)
# error not supported
#endif
}
+#endif