summaryrefslogtreecommitdiffstats
path: root/libcxx/include/ctime
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-10-17 20:05:10 +0000
committerHoward Hinnant <hhinnant@apple.com>2011-10-17 20:05:10 +0000
commit073458b1ab5489dce6f2ec789889c377b690ccf4 (patch)
tree8afaf87369531d8c64913495abd82b3a7d24af19 /libcxx/include/ctime
parentaa563df75974aa714270d48fa1b668baf893be0b (diff)
downloadbcm5719-llvm-073458b1ab5489dce6f2ec789889c377b690ccf4.tar.gz
bcm5719-llvm-073458b1ab5489dce6f2ec789889c377b690ccf4.zip
Windows support by Ruben Van Boxem.
llvm-svn: 142235
Diffstat (limited to 'libcxx/include/ctime')
-rw-r--r--libcxx/include/ctime2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/ctime b/libcxx/include/ctime
index 2cef9585cec..fc4eb26f543 100644
--- a/libcxx/include/ctime
+++ b/libcxx/include/ctime
@@ -47,7 +47,9 @@ size_t strftime(char* restrict s, size_t maxsize, const char* restrict format,
#include <__config>
#include <time.h>
+#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header
+#endif
_LIBCPP_BEGIN_NAMESPACE_STD
OpenPOWER on IntegriCloud