aboutsummaryrefslogtreecommitdiff
path: root/newlib/libm
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2009-04-24 22:49:55 +0000
committerJeff Johnston <jjohnstn@redhat.com>2009-04-24 22:49:55 +0000
commit35f31b6a983710aa9a2bd7e308d1567f326f3f5f (patch)
treebfdf4f80ea36876d228aec85956bae902b94ae96 /newlib/libm
parentde194872240d47137474f610afca16d2ee659549 (diff)
downloadnewlib-35f31b6a983710aa9a2bd7e308d1567f326f3f5f.zip
newlib-35f31b6a983710aa9a2bd7e308d1567f326f3f5f.tar.gz
newlib-35f31b6a983710aa9a2bd7e308d1567f326f3f5f.tar.bz2
2009-04-24 Jeff johnston <jjohnstn@redhat.com>
* configure.in: Add configuration test for long double equals dbl and set flag _LDBL_EQ_DBL if true. * configure: Regenerated. * newlib.hin: Add _LDBL_EQ_DBL flag. * libc/include/math.h: Use _LDBL_EQ_DBL flag instead of _HAVE_LDBL_MATH. * libc/include/stdlib.h: Use _LDBL_EQ_DBL flag instead of _HAVE_LDBL_STDLIB. * libc/common/local.h: Remove _LDBL_EQ_DBL flag setting. * libc/stdlib/local.h: Ditto.
Diffstat (limited to 'newlib/libm')
-rw-r--r--newlib/libm/common/local.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/newlib/libm/common/local.h b/newlib/libm/common/local.h
index 9e32afa..8461d02 100644
--- a/newlib/libm/common/local.h
+++ b/newlib/libm/common/local.h
@@ -1,9 +1 @@
-#include <float.h>
-
-/* Check if long double is as wide as double. */
-#if (!defined(__STRICT_ANSI__) || __STDC_VERSION__ > 199901L || \
- defined(__cplusplus)) && defined(LDBL_MANT_DIG) && \
- (DBL_MANT_DIG == LDBL_MANT_DIG && LDBL_MIN_EXP == DBL_MIN_EXP && \
- LDBL_MAX_EXP == DBL_MAX_EXP)
- #define _LDBL_EQ_DBL
-#endif
+/* placeholder for future usage. */