diff options
| author | Michael Kruse <llvm-project@meinersbur.de> | 2025-01-03 10:22:51 +0100 |
|---|---|---|
| committer | Michael Kruse <llvm-project@meinersbur.de> | 2025-01-03 10:22:51 +0100 |
| commit | 38500d63e14ce340236840f60d356cdefb56a52c (patch) | |
| tree | 17edbec446ce9b50d2f215a483b83afb293a635d /libcxx/include/ostream | |
| parent | 1a3d5daaef7a6a63448a497da3eff7fc9e23df26 (diff) | |
| parent | 27f30029741ecf023baece7b3dde1ff9011ffefc (diff) | |
Merge branch 'main' into users/meinersbur/flang_runtime_split-headersusers/meinersbur/flang_runtime_split-headers
Diffstat (limited to 'libcxx/include/ostream')
| -rw-r--r-- | libcxx/include/ostream | 62 |
1 files changed, 33 insertions, 29 deletions
diff --git a/libcxx/include/ostream b/libcxx/include/ostream index a58ac9b944fa..4a627a07a4a2 100644 --- a/libcxx/include/ostream +++ b/libcxx/include/ostream @@ -172,35 +172,39 @@ void vprint_nonunicode(ostream& os, string_view fmt, format_args args); */ -#include <__config> - -#if _LIBCPP_HAS_LOCALIZATION - -# include <__ostream/basic_ostream.h> - -# if _LIBCPP_STD_VER >= 23 -# include <__ostream/print.h> +#if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS) +# include <__cxx03/ostream> +#else +# include <__config> + +# if _LIBCPP_HAS_LOCALIZATION + +# include <__ostream/basic_ostream.h> + +# if _LIBCPP_STD_VER >= 23 +# include <__ostream/print.h> +# endif + +# include <version> + +# if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) +# pragma GCC system_header +# endif + +# endif // _LIBCPP_HAS_LOCALIZATION + +# if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20 +# include <atomic> +# include <concepts> +# include <cstdio> +# include <cstdlib> +# include <format> +# include <iosfwd> +# include <iterator> +# include <print> +# include <stdexcept> +# include <type_traits> # endif - -# include <version> - -# if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) -# pragma GCC system_header -# endif - -#endif // _LIBCPP_HAS_LOCALIZATION - -#if !defined(_LIBCPP_REMOVE_TRANSITIVE_INCLUDES) && _LIBCPP_STD_VER <= 20 -# include <atomic> -# include <concepts> -# include <cstdio> -# include <cstdlib> -# include <format> -# include <iosfwd> -# include <iterator> -# include <print> -# include <stdexcept> -# include <type_traits> -#endif +#endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS) #endif // _LIBCPP_OSTREAM |
