> On 24 Dec 2022, at 12:25, Andreas Schwab <sch...@linux-m68k.org> wrote:
>
> On Dez 24 2022, Iain Sandoe via Gcc-patches wrote:
>
>> @@ -1083,6 +1078,14 @@ namespace std::chrono
>> if (*zif >> hash >> label >> version)
>> if (hash == '#' && label == "version")
>> return version;
>> +#if defined __NetBSD__
>> + if (string ver; ifstream(zoneinfo_dir() + "/TZDATA_VERSION") >> ver)
>> + return ver;
>> +#elif defined __APPLE__
>> + // The standard install on macOS has no tzdata.zi, but we can find the
>> + // version from +VERSION.
>> + if (string ver; ifstream(zoneinfo_dir() + "/+VERSION") >> ver)
>> + return ver;
>> #endif
>> __throw_runtime_error("tzdb: no version found in tzdata.zi");
>> }
>
> Looks like indentation is off here.
thanks, I corrected that before pushing the patch.
Iain
>
> --
> Andreas Schwab, sch...@linux-m68k.org
> GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
> "And now for something completely different."