diff options
Diffstat (limited to 'include/stdlib.h')
-rw-r--r-- | include/stdlib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 069363e87..67e871379 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -270,6 +270,7 @@ extern unsigned long long int strtoull_l (__const char *__restrict __nptr, int __base, __locale_t __loc) __THROW __nonnull ((1, 4)); +#ifdef __UCLIBC_HAS_FLOATS__ extern double strtod_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) __THROW __nonnull ((1, 3)); @@ -281,6 +282,7 @@ extern float strtof_l (__const char *__restrict __nptr, extern long double strtold_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) __THROW __nonnull ((1, 3)); +#endif /* __UCLIBC_HAS_FLOATS__ */ /* Internal names to support libstd++. */ extern long int __strtol_l (__const char *__restrict __nptr, @@ -304,6 +306,7 @@ extern unsigned long long int __strtoull_l (__const char *__restrict __nptr, int __base, __locale_t __loc) __THROW __nonnull ((1, 4)); +#ifdef __UCLIBC_HAS_FLOATS__ extern double __strtod_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) __THROW __nonnull ((1, 3)); @@ -315,6 +318,7 @@ extern float __strtof_l (__const char *__restrict __nptr, extern long double __strtold_l (__const char *__restrict __nptr, char **__restrict __endptr, __locale_t __loc) __THROW __nonnull ((1, 3)); +#endif /* __UCLIBC_HAS_FLOATS__ */ #endif /* GNU */ #endif /* __UCLIBC_HAS_XLOCALE__ */ |