mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42: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,5 +1,21 @@
|
||||||
module os
|
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 {
|
pub struct C.__stat64 {
|
||||||
st_dev u32 // 4
|
st_dev u32 // 4
|
||||||
st_ino u16 // 2
|
st_ino u16 // 2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue