aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/stdlib.h
diff options
context:
space:
mode:
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 */