summaryrefslogtreecommitdiffstats
path: root/libcxx/test/support/external_threads.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2017-01-03 02:00:31 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2017-01-03 02:00:31 +0000
commit790e10f6df17903df3eec79dbd3bbbb69050b009 (patch)
tree01d3c55355d2c4620726231ecf8e88d902aeb81e /libcxx/test/support/external_threads.cpp
parent1285e4d60e60bcd166aed64d4913e4e5d0b042ad (diff)
downloadbcm5719-llvm-790e10f6df17903df3eec79dbd3bbbb69050b009.tar.gz
bcm5719-llvm-790e10f6df17903df3eec79dbd3bbbb69050b009.zip
threading_support: refactor for Win32 threading
Refactor the header to allow us to implement alternate threading models with alternate data structures. Take the opportunity to clang-format the area. This will allow us to avoid re-declaring the interfaces for Win32 threading. NFC llvm-svn: 290850
Diffstat (limited to 'libcxx/test/support/external_threads.cpp')
-rw-r--r--libcxx/test/support/external_threads.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/support/external_threads.cpp b/libcxx/test/support/external_threads.cpp
index 381ec651eef..5f7106b2258 100644
--- a/libcxx/test/support/external_threads.cpp
+++ b/libcxx/test/support/external_threads.cpp
@@ -6,5 +6,5 @@
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
-#define _LIBCPP_BUILDING_EXTERNAL_THREADS
+#define _LIBCPP_HAS_THREAD_API_PTHREAD
#include <__threading_support>
OpenPOWER on IntegriCloud