Merge pull request #5998 from TiberiumN/patch-2

Add intel compiler support to times module
This commit is contained in:
Dominik Picheta
2017-06-17 23:34:03 +01:00
committed by GitHub

View File

@@ -81,7 +81,7 @@ when defined(posix) and not defined(JS):
elif defined(windows):
import winlean
when defined(vcc) or defined(bcc):
when defined(vcc) or defined(bcc) or defined(icl):
# 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