From ddf12e6b7628ab1438f07c9edc18d43f1ac04eb9 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Tue, 7 Mar 2006 22:14:04 +0000 Subject: 2006-03-07 Jeff Johnston * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf. * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan. --- newlib/ChangeLog | 5 +++++ newlib/libm/common/sf_isinf.c | 2 ++ newlib/libm/common/sf_isnan.c | 2 ++ 3 files changed, 9 insertions(+) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index d1da05fe5..5b7f21b5d 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2006-03-07 Jeff Johnston + + * 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 * 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 9ee60c062..74ba4edf7 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 e01005133..befc3b2b2 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) -- cgit v1.2.3