summaryrefslogtreecommitdiff
path: root/include/thread
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
commit08e17472e4d5434b668dd4c63e3fa5f4b45337b9 (patch)
treea24953b1e276f3eeec6145905bb5284f75019d8b /include/thread
parent2baccd81f1d87265718035d32c0f4feffd451363 (diff)
downloadlibcxx-08e17472e4d5434b668dd4c63e3fa5f4b45337b9.tar.gz
Windows support by Ruben Van Boxem.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@142235 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/thread')
-rw-r--r--include/thread2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/thread b/include/thread
index ce3ca49ef..4366c41db 100644
--- a/include/thread
+++ b/include/thread
@@ -100,7 +100,9 @@ void sleep_for(const chrono::duration<Rep, Period>& rel_time);
#endif
#include <pthread.h>
+#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
#pragma GCC system_header
+#endif
#define __STDCPP_THREADS__ __cplusplus