diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-06 14:48:57 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-06 14:48:57 -0700 |
commit | 83bb7de8eda5020a2ad32a0c90acb8bf979c7d5c (patch) | |
tree | cc15aac20da3406ea05024291a4e0be4541f0838 | |
parent | 3d563f34bb163ebcbee3380de76eceff72bda1ab (diff) |
header fix
-rw-r--r-- | system/include/libc/stdlib.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/system/include/libc/stdlib.h b/system/include/libc/stdlib.h index dd02e6d5..cf7fe8b9 100644 --- a/system/include/libc/stdlib.h +++ b/system/include/libc/stdlib.h @@ -38,7 +38,7 @@ typedef struct long rem; /* remainder */ } ldiv_t; -#ifndef __STRICT_ANSI__ +#if !defined(__STRICT_ANSI__) || defined(EMSCRIPTEN) typedef struct { long long int quot; /* quotient */ @@ -139,7 +139,7 @@ unsigned long _EXFUN(_strtoul_r,(struct _reent *,const char *__n, char **__end_P int _EXFUN(system,(const char *__string)); -#ifndef __STRICT_ANSI__ +#if !defined(__STRICT_ANSI__) || defined(EMSCRIPTEN) long _EXFUN(a64l,(const char *__input)); char * _EXFUN(l64a,(long __input)); char * _EXFUN(_l64a_r,(struct _reent *,long __input)); @@ -186,6 +186,7 @@ long long _EXFUN(atoll,(const char *__nptr)); long long _EXFUN(_atoll_r,(struct _reent *, const char *__nptr)); long long _EXFUN(llabs,(long long)); lldiv_t _EXFUN(lldiv,(long long __numer, long long __denom)); + long long _EXFUN(strtoll,(const char *__n, char **__end_PTR, int __base)); long long _EXFUN(_strtoll_r,(struct _reent *, const char *__n, char **__end_PTR, int __base)); unsigned long long _EXFUN(strtoull,(const char *__n, char **__end_PTR, int __base)); |