From 35f31b6a983710aa9a2bd7e308d1567f326f3f5f Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Fri, 24 Apr 2009 22:49:55 +0000 Subject: 2009-04-24 Jeff johnston * 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. --- newlib/libm/common/local.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'newlib/libm') diff --git a/newlib/libm/common/local.h b/newlib/libm/common/local.h index 9e32afacb..8461d0215 100644 --- a/newlib/libm/common/local.h +++ b/newlib/libm/common/local.h @@ -1,9 +1 @@ -#include - -/* 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. */ -- cgit v1.2.3