1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

v2: fix Windows errors

This commit is contained in:
Alexey
2020-03-28 12:19:38 +03:00
committed by GitHub
parent 4541f29019
commit cedf185b41
5 changed files with 7 additions and 8 deletions

View File

@@ -12,8 +12,8 @@ struct C.tm {
tm_sec int
}
fn C._mkgmtime(&tm) time_t
fn C._mkgmtime(&C.tm) time_t
fn make_unix_time(t tm) int {
fn make_unix_time(t C.tm) int {
return int(C._mkgmtime(&t))
}