diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2009-04-24 22:49:55 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2009-04-24 22:49:55 +0000 |
commit | 35f31b6a983710aa9a2bd7e308d1567f326f3f5f (patch) | |
tree | bfdf4f80ea36876d228aec85956bae902b94ae96 /newlib/libc/include/stdlib.h | |
parent | de194872240d47137474f610afca16d2ee659549 (diff) | |
download | cygnal-35f31b6a983710aa9a2bd7e308d1567f326f3f5f.tar.gz cygnal-35f31b6a983710aa9a2bd7e308d1567f326f3f5f.tar.bz2 cygnal-35f31b6a983710aa9a2bd7e308d1567f326f3f5f.zip |
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/libc/include/stdlib.h')
-rw-r--r-- | newlib/libc/include/stdlib.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/include/stdlib.h b/newlib/libc/include/stdlib.h index 7dfb77983..8f7d31e18 100644 --- a/newlib/libc/include/stdlib.h +++ b/newlib/libc/include/stdlib.h @@ -199,11 +199,11 @@ int _EXFUN(_system_r,(struct _reent *, const char *)); _VOID _EXFUN(__eprintf,(const char *, const char *, unsigned int, const char *)); -/* On platforms where long double stdlib functions are supported. */ -#ifdef _HAVE_LDBL_STDLIB +/* On platforms where long double equals double. */ +#ifdef _LDBL_EQ_DBL extern long double strtold (const char *, char **); extern long double wcstold (const wchar_t *, wchar_t **); -#endif /* _HAVE_LDBL_STDLIB */ +#endif /* _LDBL_EQ_DBL */ _END_STD_C |