ci: fix unix_test.v on unix != macos
parent
89521584a2
commit
58393bd3f9
|
@ -24,9 +24,9 @@ const max_sun_path = 104
|
||||||
|
|
||||||
struct C.sockaddr_un {
|
struct C.sockaddr_un {
|
||||||
mut:
|
mut:
|
||||||
sun_len byte
|
// sun_len byte // only on macos
|
||||||
sun_family int
|
sun_family int
|
||||||
sun_path [104]char
|
sun_path [104]char // on linux that is 108
|
||||||
}
|
}
|
||||||
|
|
||||||
struct C.addrinfo {
|
struct C.addrinfo {
|
||||||
|
|
Loading…
Reference in New Issue