Guard an include of <ostream>
in <chrono>
with availability macro (#108429)
This fixes a regression introduced in https://github.com/llvm/llvm-project/pull/96035. (cherry picked from commit 127c34948bd54e92ef2ee544e8bc42acecf321ad)
This commit is contained in:
parent
a847b66a75
commit
82f3a4a32d
@ -1015,8 +1015,8 @@ constexpr chrono::year operator ""y(unsigned lo
|
||||
# include <charconv>
|
||||
# if !defined(_LIBCPP_HAS_NO_LOCALIZATION)
|
||||
# include <locale>
|
||||
# include <ostream>
|
||||
# endif
|
||||
# include <ostream>
|
||||
#endif
|
||||
|
||||
#endif // _LIBCPP_CHRONO
|
||||
|
Loading…
x
Reference in New Issue
Block a user