summaryrefslogtreecommitdiff
path: root/include/ctime
diff options
context:
space:
mode:
Diffstat (limited to 'include/ctime')
-rw-r--r--include/ctime2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ctime b/include/ctime
index fc4eb26f54305..da9e3290bbb20 100644
--- a/include/ctime
+++ b/include/ctime
@@ -61,10 +61,12 @@ using ::clock;
using ::difftime;
using ::mktime;
using ::time;
+#ifndef _LIBCPP_HAS_NO_THREAD_UNSAFE_C_FUNCTIONS
using ::asctime;
using ::ctime;
using ::gmtime;
using ::localtime;
+#endif
using ::strftime;
_LIBCPP_END_NAMESPACE_STD