summaryrefslogtreecommitdiffstats
path: root/libcxx/src
diff options
context:
space:
mode:
authorMarshall Clow <mclow@qualcomm.com>2013-03-18 19:34:07 +0000
committerMarshall Clow <mclow@qualcomm.com>2013-03-18 19:34:07 +0000
commit69e76f80e28fc969631a6b191f394c8ffc1618b1 (patch)
tree8779c27b0d941a47502b373842f5eeafe3fda0a0 /libcxx/src
parent0db0878ead6ea8ad5616fbd53b4964f71ba87bb1 (diff)
downloadbcm5719-llvm-69e76f80e28fc969631a6b191f394c8ffc1618b1.tar.gz
bcm5719-llvm-69e76f80e28fc969631a6b191f394c8ffc1618b1.zip
Removed raw references to __sun__, __FreeBSD__, __GLIBC__ and __linux__; now just check to see if they are defined.
llvm-svn: 177310
Diffstat (limited to 'libcxx/src')
-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 1acb13108e8..7a06b296d44 100644
--- a/libcxx/src/thread.cpp
+++ b/libcxx/src/thread.cpp
@@ -14,7 +14,7 @@
#include "limits"
#include <sys/types.h>
#if !defined(_WIN32)
-#if !__sun__ && !__linux__
+#if !defined(__sun__) && !defined(__linux__)
#include <sys/sysctl.h>
#else
#include <unistd.h>
OpenPOWER on IntegriCloud