From d27e534a852f9fa934420b1079763c5d2e6e5977 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 24 Dec 2019 16:12:52 +0100 Subject: time/ISO8601: fix Windows build failure Caused by 2bc127bb4336d1de047cca57b07865ed1e53f967 --- src/time/ISO8601.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/time/ISO8601.cxx b/src/time/ISO8601.cxx index 32527d053..725215ea6 100644 --- a/src/time/ISO8601.cxx +++ b/src/time/ISO8601.cxx @@ -58,6 +58,8 @@ FormatISO8601(std::chrono::system_clock::time_point tp) return FormatISO8601(GmTime(tp)); } +#ifndef _WIN32 + static std::pair ParseTimeZoneOffsetRaw(const char *&s) { @@ -167,6 +169,8 @@ ParseTimeOfDay(const char *s, struct tm &tm, return end; } +#endif + std::pair ParseISO8601(const char *s) -- cgit v1.2.3