summaryrefslogtreecommitdiff
path: root/include/cstring
diff options
context:
space:
mode:
Diffstat (limited to 'include/cstring')
-rw-r--r--include/cstring2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cstring b/include/cstring
index 21c9155cd..d60b9923c 100644
--- a/include/cstring
+++ b/include/cstring
@@ -102,7 +102,9 @@ inline _LIBCPP_INLINE_VISIBILITY void* memchr( void* __s, int __c, si
inline _LIBCPP_INLINE_VISIBILITY char* strstr( char* __s1, const char* __s2) {return ::strstr(__s1, __s2);}
#endif
+#ifndef _LIBCPP_HAS_NO_THREAD_UNSAFE_C_FUNCTIONS
using ::strtok;
+#endif
using ::memset;
using ::strerror;
using ::strlen;