Skip to content

Commit

Permalink
Guard an include of <ostream> in <chrono> with availability macro (
Browse files Browse the repository at this point in the history
…llvm#108429)

This fixes a regression introduced in
llvm#96035.

(cherry picked from commit 127c349)
  • Loading branch information
var-const authored and tru committed Sep 16, 2024
1 parent a847b66 commit 82f3a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libcxx/include/chrono
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 82f3a4a

Please sign in to comment.