diff options
author | mikhnenko <mikhnenko@yandex-team.com> | 2024-12-05 10:49:03 +0300 |
---|---|---|
committer | mikhnenko <mikhnenko@yandex-team.com> | 2024-12-05 11:21:12 +0300 |
commit | 681668b400e84754eb7acbc0e173491bb4dfc8b2 (patch) | |
tree | e809b0abb22e9c506c032e256effebcf9ea88dbd /contrib/libs/cxxsupp/libcxx/src/print.cpp | |
parent | fe60cde3cf1989964159845c2929a65056a8dcf3 (diff) | |
download | ydb-681668b400e84754eb7acbc0e173491bb4dfc8b2.tar.gz |
Update libcxx to 18 Dec 3b0705827dbe711788c6b6bec3afa94205db1ce8
commit_hash:875d8582c26b8bf016af25e00ad77d9bbf081948
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/src/print.cpp')
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/src/print.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/src/print.cpp b/contrib/libs/cxxsupp/libcxx/src/print.cpp index a581dd37fe..3692187a59 100644 --- a/contrib/libs/cxxsupp/libcxx/src/print.cpp +++ b/contrib/libs/cxxsupp/libcxx/src/print.cpp @@ -7,10 +7,12 @@ //===----------------------------------------------------------------------===// #include <__config> -#include <cstdlib> -#include <print> #if defined(_LIBCPP_WIN32API) + +# include <cstdlib> +# include <print> + # define WIN32_LEAN_AND_MEAN # define NOMINMAX # include <io.h> @@ -19,11 +21,9 @@ # include <__system_error/system_error.h> # include "filesystem/error.h" -#endif _LIBCPP_BEGIN_NAMESPACE_STD -#ifdef _WIN32 _LIBCPP_EXPORTED_FROM_ABI bool __is_windows_terminal(FILE* __stream) { // Note the Standard does this in one call, but it's unclear whether // an invalid handle is allowed when calling GetConsoleMode. @@ -52,6 +52,6 @@ __write_to_windows_console([[maybe_unused]] FILE* __stream, [[maybe_unused]] wst } # endif // _LIBCPP_HAS_NO_WIDE_CHARACTERS -#endif // _WIN32 - _LIBCPP_END_NAMESPACE_STD + +#endif // !_LIBCPP_WIN32API |