diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-08-29 16:47:35 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-08-29 16:47:35 +0000 |
commit | 44a6b946f347d1c7dda76d0ed154c852f7445717 (patch) | |
tree | 896144cae32941d00e42e0a0cc1a234750dd2079 /include/stdlib.h | |
parent | bb632d57bb792804a18bfcbb723c825de26b23a5 (diff) |
Wrap up some long long stuff in __UCLIBC_HAS_LONG_LONG__
Diffstat (limited to 'include/stdlib.h')
-rw-r--r-- | include/stdlib.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 17afbe9d3..28119c6aa 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -45,11 +45,13 @@ typedef __compar_fn_t comparison_fn_t; extern double atof(const char *nptr); extern int atoi(const char *nptr); extern long atol(const char *nptr); -extern long long atoll(const char *nptr); extern long strtol __P ((const char * nptr, char ** endptr, int base)); extern unsigned long strtoul __P ((const char * nptr, char ** endptr, int base)); +#if defined __UCLIBC_HAS_LONG_LONG__ +extern long long atoll(const char *nptr); extern long long strtoll __P ((const char * nptr, char ** endptr, int base)); extern unsigned long long strtoull __P ((const char * nptr, char ** endptr, int base)); +#endif #ifdef __UCLIBC_HAS_FLOATS__ /*TODO: extern char * gcvt __P ((double number, size_t ndigit, char * buf)); */ extern double strtod __P ((const char * nptr, char ** endptr)); |