Merge pull request #5158 from AdrianV/patch-4

bcc uses _timezone like vcc
This commit is contained in:
Andreas Rumpf
2016-12-29 11:27:19 +01:00
committed by GitHub

View File

@@ -70,7 +70,7 @@ when defined(posix) and not defined(JS):
elif defined(windows):
import winlean
when defined(vcc):
when defined(vcc) or defined(bcc):
# newest version of Visual C++ defines time_t to be of 64 bits
type TimeImpl {.importc: "time_t", header: "<time.h>".} = int64
# visual c's c runtime exposes these under a different name