summaryrefslogtreecommitdiffstats
path: root/libcxx/src/thread.cpp
diff options
context:
space:
mode:
authorDavid Chisnall <csdavec@swan.ac.uk>2012-02-29 13:05:08 +0000
committerDavid Chisnall <csdavec@swan.ac.uk>2012-02-29 13:05:08 +0000
commit14c25b80e9be5aab9b503a53f810c5bbffe4d632 (patch)
tree199ca992efe98f7ab5e558763404fe70f488dd1c /libcxx/src/thread.cpp
parent66d45737860948d34b3f7e46d6d571a9de6cb22c (diff)
downloadbcm5719-llvm-14c25b80e9be5aab9b503a53f810c5bbffe4d632.tar.gz
bcm5719-llvm-14c25b80e9be5aab9b503a53f810c5bbffe4d632.zip
Solaris port. Currently sees around 200 test failures, mostly related to
Solaris not providing some of the locales that the test suite uses. Note: This depends on an xlocale (partial) implementation for Solaris and a couple of fixed standard headers. These will be committed to a branch later today. llvm-svn: 151720
Diffstat (limited to 'libcxx/src/thread.cpp')
-rw-r--r--libcxx/src/thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/thread.cpp b/libcxx/src/thread.cpp
index cc8c3274be4..f27136a53d0 100644
--- a/libcxx/src/thread.cpp
+++ b/libcxx/src/thread.cpp
@@ -12,7 +12,7 @@
#include "vector"
#include "future"
#include <sys/types.h>
-#if !_WIN32
+#if !_WIN32 && !__sun__
#include <sys/sysctl.h>
#endif // _WIN32
OpenPOWER on IntegriCloud