commit | eb505f6aaf8633a9cd5b19e46fb7e77452017e76 | [log] [tgz] |
---|---|---|
author | Howard Hinnant <hhinnant@apple.com> | Fri Sep 23 16:11:27 2011 +0000 |
committer | Howard Hinnant <hhinnant@apple.com> | Fri Sep 23 16:11:27 2011 +0000 |
tree | df22bc921e7a6e4f3c5199850e661aff1dcc2f58 | |
parent | dd0d70232547e681c93765e8779c5cfb1af56f27 [diff] [blame] |
Work on Windows port by Ruben Van Boxem llvm-svn: 140384 Cr-Mirrored-From: sso://chromium.googlesource.com/_direct/external/github.com/llvm/llvm-project Cr-Mirrored-Commit: dbe8111948d372a6f7445e86a0ac985717fbe1bc
diff --git a/src/thread.cpp b/src/thread.cpp index 4ccff32..b07f8f8 100644 --- a/src/thread.cpp +++ b/src/thread.cpp
@@ -12,7 +12,9 @@ #include "vector" #include "future" #include <sys/types.h> +#if !_WIN32 #include <sys/sysctl.h> +#endif // _WIN32 _LIBCPP_BEGIN_NAMESPACE_STD