aboutsummaryrefslogtreecommitdiff
path: root/system/lib/libcxx/thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'system/lib/libcxx/thread.cpp')
-rw-r--r--system/lib/libcxx/thread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/lib/libcxx/thread.cpp b/system/lib/libcxx/thread.cpp
index a2d95bb2..76af3d0c 100644
--- a/system/lib/libcxx/thread.cpp
+++ b/system/lib/libcxx/thread.cpp
@@ -13,8 +13,8 @@
#include "future"
#include "limits"
#include <sys/types.h>
-#if !_WIN32
-#if !__sun__ && !__linux__
+#if !defined(_WIN32)
+#if !defined(__sun__) && !defined(__linux__)
#include <sys/sysctl.h>
#else
#include <unistd.h>