Fixes times module compilation on cpp backend. (#7004)

This commit is contained in:
Dominik Picheta
2018-01-03 11:46:55 +00:00
committed by Andreas Rumpf
parent 23c77ffa3a
commit 22cc7c62e5

View File

@@ -34,7 +34,7 @@ type
{.deprecated: [TSocketHandle: SocketHandle].}
type
Time* {.importc: "time_t", header: "<time.h>".} = distinct int
Time* {.importc: "time_t", header: "<time.h>".} = distinct clong
Timespec* {.importc: "struct timespec",
header: "<time.h>", final, pure.} = object ## struct timespec