crt: Add emulation of _get_daylight() function for pre-msvcr80 import libs

Function _get_daylight() is available in msvcr80+ and UCRT.

Signed-off-by: Martin Storsjö <martin@martin.st>
2 files changed