mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
ci: fix failing vlib/v/tests/option_test.c.v
This commit is contained in:
parent
1f7c91e00f
commit
4486493158
1 changed files with 17 additions and 1 deletions
|
@ -1,10 +1,26 @@
|
|||
module os
|
||||
|
||||
// Minimal stat struct as specified in
|
||||
// https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_stat.h.html
|
||||
pub struct C.stat {
|
||||
st_dev u64
|
||||
st_ino u64
|
||||
st_mode u32
|
||||
st_nlink u64
|
||||
st_uid u32
|
||||
st_gid u32
|
||||
st_rdev u64
|
||||
st_size u64
|
||||
st_atime int
|
||||
st_mtime int
|
||||
st_ctime int
|
||||
}
|
||||
|
||||
pub struct C.__stat64 {
|
||||
st_dev u32 // 4
|
||||
st_ino u16 // 2
|
||||
st_mode u16 // 2
|
||||
st_nlink u16 // 2
|
||||
st_nlink u16 // 2
|
||||
st_uid u16 // 2
|
||||
st_gid u16 // 2
|
||||
st_rdev u32 // 4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue