Evil: fix compilation when MSVC is not available.
authorVincent Torri <vincent dot torri at gmail dot com>
Fri, 21 Aug 2015 10:44:44 +0000 (12:44 +0200)
committerTom Hacohen <tom@stosb.com>
Fri, 21 Aug 2015 12:12:32 +0000 (13:12 +0100)
commitc73ccef4a753bc29e3d6589a38d1e65f462183fd
treec4838336d8f7d250850fac3119b6f5320075414f
parent2472dfdb240731084ba65ce3075da5548af1c459
Evil: fix compilation when MSVC is not available.

localtime_s is not defined in msvcrt.dll but rather is defined in
Microsoft libc when Visual Studio or other stuff is installed.

Issue introduced in:024812c1a76286991f292c3191936778ec219ff8

Fixes T2681

@fix
src/lib/evil/evil_time.c