aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/stdlib.h
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-09-25 21:31:07 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-09-25 21:31:07 -0700
commit57c012482aed42154a0cad98c7b3a65363f4d276 (patch)
tree325dcde7e9fdfbae2bb21fb5165c392a118f03ef /system/include/libc/stdlib.h
parent989ef1a194dfab120b73d434ff7738a9038bcdc6 (diff)
header fixes and additions
Diffstat (limited to 'system/include/libc/stdlib.h')
-rw-r--r--system/include/libc/stdlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/include/libc/stdlib.h b/system/include/libc/stdlib.h
index 0bd2c7d7..1019af0f 100644
--- a/system/include/libc/stdlib.h
+++ b/system/include/libc/stdlib.h
@@ -216,7 +216,7 @@ int _EXFUN(_system_r,(struct _reent *, const char *));
_VOID _EXFUN(__eprintf,(const char *, const char *, unsigned int, const char *));
/* On platforms where long double equals double. */
-#ifdef _LDBL_EQ_DBL
+#if defined(_LDBL_EQ_DBL) || defined(EMSCRIPTEN)
extern long double strtold (const char *, char **);
extern long double wcstold (const wchar_t *, wchar_t **);
#endif /* _LDBL_EQ_DBL */