aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc/string.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/libc/string.h')
-rw-r--r--system/include/libc/string.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/system/include/libc/string.h b/system/include/libc/string.h
index 9962768c..146d602c 100644
--- a/system/include/libc/string.h
+++ b/system/include/libc/string.h
@@ -40,13 +40,13 @@ char *_EXFUN(strrchr,(const char *, int));
size_t _EXFUN(strspn,(const char *, const char *));
char *_EXFUN(strstr,(const char *, const char *));
-#ifndef _REENT_ONLY
+#if defined(EMSCRIPTEN) || !defined(_REENT_ONLY)
char *_EXFUN(strtok,(char *, const char *));
#endif
size_t _EXFUN(strxfrm,(char *, const char *, size_t));
-#ifndef __STRICT_ANSI__
+#if defined(EMSCRIPTEN) || !defined(__STRICT_ANSI__)
char *_EXFUN(strtok_r,(char *, const char *, char **));
int _EXFUN(bcmp,(const void *, const void *, size_t));
@@ -102,3 +102,4 @@ int _EXFUN(strtosigno, (const char *__name));
_END_STD_C
#endif /* _STRING_H_ */
+