aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2006-03-07 22:14:04 +0000
committerJeff Johnston <jjohnstn@redhat.com>2006-03-07 22:14:04 +0000
commitddf12e6b7628ab1438f07c9edc18d43f1ac04eb9 (patch)
treee55f4924837874445cc4e084f683ef76dd5d06c2
parentc4e86a3181c35e75452e84e738bfdf79c845d1a3 (diff)
downloadnewlib-ddf12e6b7628ab1438f07c9edc18d43f1ac04eb9.zip
newlib-ddf12e6b7628ab1438f07c9edc18d43f1ac04eb9.tar.gz
newlib-ddf12e6b7628ab1438f07c9edc18d43f1ac04eb9.tar.bz2
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.
-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)