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:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user