summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--win32/win32.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index e80b4c6008..4d3a2576f1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Mar 11 01:33:30 2010 wanabe <s.wanabe@gmail.com>
+
+ * win32/win32.c (signbit): allow x64.
+
Thu Mar 11 01:04:48 2010 Shugo Maeda <shugo@ruby-lang.org>
* iseq.c (rb_iseq_clone): sets local_iseq and klass properly.
diff --git a/win32/win32.c b/win32/win32.c
index 518982678a..268c3c7480 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -5278,11 +5278,7 @@ _ftol2_sse(double d)
int
signbit(double x)
{
-#ifdef _M_IX86
int *ip = (int *)(&x + 1) - 1;
return *ip < 0;
-#else
-# error not supported
-#endif
}
#endif