aboutsummaryrefslogtreecommitdiff
path: root/newlib/libm/common
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 /newlib/libm/common
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.
Diffstat (limited to 'newlib/libm/common')
-rw-r--r--newlib/libm/common/sf_isinf.c2
-rw-r--r--newlib/libm/common/sf_isnan.c2
2 files changed, 4 insertions, 0 deletions
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)