diff --git a/libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_bidirectional_iterator.compile.pass.cpp b/libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_bidirectional_iterator.compile.pass.cpp --- a/libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_bidirectional_iterator.compile.pass.cpp +++ b/libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_bidirectional_iterator.compile.pass.cpp @@ -14,11 +14,13 @@ // template // concept __iterator_traits_detail::__cpp17_bidirectional_iterator; +#include "test_macros.h" + #include #include #include -#ifndef _LIBCPP_HAS_NO_FILESYSTEM_LIBRARY +#ifndef TEST_HAS_NO_FILESYSTEM_LIBRARY #include #endif #include @@ -59,7 +61,7 @@ static_assert(std::__iterator_traits_detail::__cpp17_bidirectional_iterator::const_reverse_iterator>); // -#ifndef _LIBCPP_HAS_NO_FILESYSTEM_LIBRARY +#ifndef TEST_HAS_NO_FILESYSTEM_LIBRARY static_assert(!std::__iterator_traits_detail::__cpp17_bidirectional_iterator); static_assert(!std::__iterator_traits_detail::__cpp17_bidirectional_iterator); #endif diff --git a/libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_forward_iterator.compile.pass.cpp b/libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_forward_iterator.compile.pass.cpp --- a/libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_forward_iterator.compile.pass.cpp +++ b/libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_forward_iterator.compile.pass.cpp @@ -14,11 +14,13 @@ // template // concept __iterator_traits_detail::__cpp17_forward_iterator; +#include "test_macros.h" + #include #include #include -#ifndef _LIBCPP_HAS_NO_FILESYSTEM_LIBRARY +#ifndef TEST_HAS_NO_FILESYSTEM_LIBRARY #include #endif #include @@ -59,7 +61,7 @@ static_assert(std::__iterator_traits_detail::__cpp17_forward_iterator::const_reverse_iterator>); // -#ifndef _LIBCPP_HAS_NO_FILESYSTEM_LIBRARY +#ifndef TEST_HAS_NO_FILESYSTEM_LIBRARY static_assert(!std::__iterator_traits_detail::__cpp17_forward_iterator); static_assert(!std::__iterator_traits_detail::__cpp17_forward_iterator); #endif diff --git a/libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_input_iterator.compile.pass.cpp b/libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_input_iterator.compile.pass.cpp --- a/libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_input_iterator.compile.pass.cpp +++ b/libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_input_iterator.compile.pass.cpp @@ -14,11 +14,13 @@ // template // concept __iterator_traits_detail::__cpp17_input_iterator; +#include "test_macros.h" + #include #include #include -#ifndef _LIBCPP_HAS_NO_FILESYSTEM_LIBRARY +#ifndef TEST_HAS_NO_FILESYSTEM_LIBRARY #include #endif #include @@ -59,7 +61,7 @@ static_assert(std::__iterator_traits_detail::__cpp17_input_iterator::const_reverse_iterator>); // -#ifndef _LIBCPP_HAS_NO_FILESYSTEM_LIBRARY +#ifndef TEST_HAS_NO_FILESYSTEM_LIBRARY static_assert(std::__iterator_traits_detail::__cpp17_input_iterator); static_assert(std::__iterator_traits_detail::__cpp17_input_iterator); #endif diff --git a/libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_iterator.compile.pass.cpp b/libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_iterator.compile.pass.cpp --- a/libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_iterator.compile.pass.cpp +++ b/libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_iterator.compile.pass.cpp @@ -14,11 +14,13 @@ // template // concept __iterator_traits_detail::__cpp17_iterator; +#include "test_macros.h" + #include #include #include -#ifndef _LIBCPP_HAS_NO_FILESYSTEM_LIBRARY +#ifndef TEST_HAS_NO_FILESYSTEM_LIBRARY #include #endif #include @@ -59,7 +61,7 @@ static_assert(std::__iterator_traits_detail::__cpp17_iterator::const_reverse_iterator>); // -#ifndef _LIBCPP_HAS_NO_FILESYSTEM_LIBRARY +#ifndef TEST_HAS_NO_FILESYSTEM_LIBRARY static_assert(std::__iterator_traits_detail::__cpp17_iterator); static_assert(std::__iterator_traits_detail::__cpp17_iterator); #endif diff --git a/libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_random_access_iterator.compile.pass.cpp b/libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_random_access_iterator.compile.pass.cpp --- a/libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_random_access_iterator.compile.pass.cpp +++ b/libcxx/test/libcxx/iterators/iterator.requirements/iterator.assoc.types/iterator.traits/legacy_random_access_iterator.compile.pass.cpp @@ -14,11 +14,13 @@ // template // concept __iterator_traits_detail::__cpp17_random_access_iterator; +#include "test_macros.h" + #include #include #include -#ifndef _LIBCPP_HAS_NO_FILESYSTEM_LIBRARY +#ifndef TEST_HAS_NO_FILESYSTEM_LIBRARY #include #endif #include @@ -59,7 +61,7 @@ static_assert(std::__iterator_traits_detail::__cpp17_random_access_iterator::const_reverse_iterator>); // -#ifndef _LIBCPP_HAS_NO_FILESYSTEM_LIBRARY +#ifndef TEST_HAS_NO_FILESYSTEM_LIBRARY static_assert(!std::__iterator_traits_detail::__cpp17_random_access_iterator); static_assert(!std::__iterator_traits_detail::__cpp17_random_access_iterator); #endif