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
This fixes a regression introduced in
#96035.
  • Loading branch information
var-const committed Sep 12, 2024
1 parent e0fa2f1 commit ec2d69f
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 ec2d69f

Please sign in to comment.