Files
git/compat
Matthias Aßhauer 6b80b39d8b mingw: use modern strftime implementation if possible
Microsoft introduced a new "Universal C Runtime Library" (UCRT) with
Visual Studio 2015. The UCRT comes with a new strftime() implementation that
supports more date formats. We link git against the older "Microsoft Visual C
Runtime Library" (MSVCRT), so to use the UCRT strftime() we need to load it from
ucrtbase.dll using DECLARE_PROC_ADDR()/INIT_PROC_ADDR().

Most supported Windows systems should have recieved the UCRT via Windows update,
but in some cases only MSVCRT might be available. In that case we fall back to
using that implementation.

This fixes git-for-windows/git#2495

Signed-off-by: Matthias Aßhauer <mha1993@live.de>
2020-04-05 22:23:24 +02:00
..
2020-01-30 14:17:09 -08:00
2019-06-25 10:46:57 -07:00