From 790e10f6df17903df3eec79dbd3bbbb69050b009 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Tue, 3 Jan 2017 02:00:31 +0000 Subject: 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 --- libcxx/test/support/external_threads.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcxx/test/support/external_threads.cpp') 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> -- cgit v1.2.3