diff options
Diffstat (limited to 'newlib/libc/stdlib/strtold.c')
-rw-r--r-- | newlib/libc/stdlib/strtold.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/newlib/libc/stdlib/strtold.c b/newlib/libc/stdlib/strtold.c index a620251ee..390ec735b 100644 --- a/newlib/libc/stdlib/strtold.c +++ b/newlib/libc/stdlib/strtold.c @@ -31,18 +31,12 @@ POSSIBILITY OF SUCH DAMAGE. #include <stdlib.h> #include "local.h" -#ifdef _HAVE_LONG_DOUBLE -extern long double _strtold (const char *, char **); - /* On platforms where long double is as wide as double. */ +#ifdef _LDBL_EQ_DBL long double strtold (const char *__restrict s00, char **__restrict se) { -#ifdef _LDBL_EQ_DBL return strtod(s00, se); -#else - return _strtold (s00, se); -#endif } -#endif /* _HAVE_LONG_DOUBLE */ +#endif /* _LDBL_EQ_DBL */ |