bcc uses _timezone like vcc

This commit is contained in:
AdrianV 2016-12-28 17:30:23 +01:00 • committed by GitHub
commit 3a4353bc40

View file

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