diff options
Diffstat (limited to 'libcxx/test/std/atomics/types.pass.cpp')
-rw-r--r-- | libcxx/test/std/atomics/types.pass.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libcxx/test/std/atomics/types.pass.cpp b/libcxx/test/std/atomics/types.pass.cpp index 401f9328b2fa..f95f7a4c1d47 100644 --- a/libcxx/test/std/atomics/types.pass.cpp +++ b/libcxx/test/std/atomics/types.pass.cpp @@ -22,12 +22,12 @@ #include <memory> #include <type_traits> -#ifndef _LIBCPP_HAS_NO_THREADS -# include <thread> -#endif - #include "test_macros.h" +#ifndef TEST_HAS_NO_THREADS +# include <thread> +#endif + template <class A, bool Integral> struct test_atomic { @@ -167,7 +167,7 @@ int main(int, char**) test<LargeTriviallyCopyable>(); #endif -#ifndef _LIBCPP_HAS_NO_THREADS +#ifndef TEST_HAS_NO_THREADS test<std::thread::id>(); #endif test<std::chrono::nanoseconds>(); |