Skip to content

Commit

Permalink
try fix for windows building
Browse files Browse the repository at this point in the history
  • Loading branch information
hedzr committed Sep 8, 2024
1 parent 7b4ed1a commit 866b27e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/cmdr11/include/cmdr11/cmdr_chrono.hh
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ template<typename T,
inline std::ostream &operator<<(std::ostream &os, T v) {
return cmdr::chrono::format_duration(os, v);
}
#else
#elif !OS_WIN
template<typename _Rep, typename _Period>
inline std::ostream &
operator<<(std::ostream &os,
Expand Down Expand Up @@ -904,7 +904,7 @@ inline std::ostream &operator<<(std::ostream &os, std::chrono::time_point<_Clock
// std::size_t ns = cmdr::chrono::time_point_get_ns(time);
return cmdr::chrono::serialize_time_point(os, time, "%F %T");
}
#else
#elif !OS_WIN

namespace cmdr::checks {
template<typename T>
Expand Down

0 comments on commit 866b27e

Please sign in to comment.