Fixes times module compilation on cpp backend. (#7004)
This commit is contained in:
parent
23c77ffa3a
commit
22cc7c62e5
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue