Commit d27e534a authored by Max Kellermann's avatar Max Kellermann

time/ISO8601: fix Windows build failure

Caused by 2bc127bb
parent 6d54928d
......@@ -58,6 +58,8 @@ FormatISO8601(std::chrono::system_clock::time_point tp)
return FormatISO8601(GmTime(tp));
}
#ifndef _WIN32
static std::pair<unsigned, unsigned>
ParseTimeZoneOffsetRaw(const char *&s)
{
......@@ -167,6 +169,8 @@ ParseTimeOfDay(const char *s, struct tm &tm,
return end;
}
#endif
std::pair<std::chrono::system_clock::time_point,
std::chrono::system_clock::duration>
ParseISO8601(const char *s)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment