diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 9b29994b0..eaf5ae8f3 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2015-02-04 Corinna Vinschen + + * libc/include/wchar.h (wcstold): Drop _LDBL_EQ_DBL requirement for + declaration. + 2015-01-29 Nick Clifton * libc/stdlib/wcstold.c (wcstold): Add implementation for when diff --git a/newlib/libc/include/wchar.h b/newlib/libc/include/wchar.h index 596cce698..d19dae9f8 100644 --- a/newlib/libc/include/wchar.h +++ b/newlib/libc/include/wchar.h @@ -143,10 +143,7 @@ long _EXFUN(_wcstol_r, (struct _reent *, const wchar_t *, wchar_t **, int)); long long _EXFUN(_wcstoll_r, (struct _reent *, const wchar_t *, wchar_t **, int)); unsigned long _EXFUN(_wcstoul_r, (struct _reent *, const wchar_t *, wchar_t **, int)); unsigned long long _EXFUN(_wcstoull_r, (struct _reent *, const wchar_t *, wchar_t **, int)); -/* On platforms where long double equals double. */ -#ifdef _LDBL_EQ_DBL long double _EXFUN(wcstold, (const wchar_t *, wchar_t **)); -#endif /* _LDBL_EQ_DBL */ wint_t _EXFUN(fgetwc, (__FILE *)); wchar_t *_EXFUN(fgetws, (wchar_t *__restrict, int, __FILE *__restrict));