aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libm/common/sf_isinf.c2
-rw-r--r--newlib/libm/common/sf_isnan.c2
3 files changed, 9 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index d1da05f..5b7f21b 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
+ * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
+
2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
* libm/math/math.tex: Fix reference to sisnan.def which
diff --git a/newlib/libm/common/sf_isinf.c b/newlib/libm/common/sf_isinf.c
index 9ee60c0..74ba4ed 100644
--- a/newlib/libm/common/sf_isinf.c
+++ b/newlib/libm/common/sf_isinf.c
@@ -19,6 +19,8 @@ _DEFUN (isinff, (x),
#ifdef _DOUBLE_IS_32BITS
+#undef isinf
+
int
_DEFUN (isinf, (x),
double x)
diff --git a/newlib/libm/common/sf_isnan.c b/newlib/libm/common/sf_isnan.c
index e010051..befc3b2 100644
--- a/newlib/libm/common/sf_isnan.c
+++ b/newlib/libm/common/sf_isnan.c
@@ -32,6 +32,8 @@ _DEFUN (isnanf, (x),
#ifdef _DOUBLE_IS_32BITS
+#undef isnan
+
int
_DEFUN (isnan, (x),
double x)