Merge pull request #5158 from AdrianV/patch-4
bcc uses _timezone like vcc
This commit is contained in:
commit
a9729afeaf
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue