]> git.pond.sub.org Git - empserver/commit
w32: Work around a Visual Studio deprecation warning
authorRon Koenderink <rkoenderink@gmail.com>
Thu, 4 Feb 2021 22:30:54 +0000 (16:30 -0600)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 13 Feb 2021 18:25:18 +0000 (19:25 +0100)
commitca801dec141edf924ee2020dbbe26966f2f88e2e
tree6e2e2617b230833b68780ddec9bb419d753f27b1
parent3af4a32def5f902a07f20d92cf970717423cf688
w32: Work around a Visual Studio deprecation warning

Visual Studio warns on use of certain POSIX functions.  Compiler
option /D_CRT_NONSTDC_NO_WARNINGS suppresses this, except for variable
tzname.  Work around with a macro.

Signed-off-by: Ron Koenderink <rkoenderink@gmail.com>
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/w32/strptime.c