mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 01:14:41 +00:00
bcc uses _timezone like vcc
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user