[breaking change] sendmmsg/recvmmsg have incorrect signature c_int vs c_uint on emscripten
This commit is contained in:
parent
05caeabe91
commit
0bc18a5dc9
@ -1789,6 +1789,9 @@ fn test_emscripten(target: &str) {
|
||||
// users should use SIGSYS instead
|
||||
"SIGUNUSED" => true,
|
||||
|
||||
// FIXME: emscripten uses different constants to constructs these
|
||||
n if n.contains("__SIZEOF_PTHREAD") => true,
|
||||
|
||||
_ => false,
|
||||
}
|
||||
});
|
||||
|
@ -1827,9 +1827,9 @@ extern {
|
||||
pub fn getdomainname(name: *mut ::c_char, len: ::size_t) -> ::c_int;
|
||||
pub fn setdomainname(name: *const ::c_char, len: ::size_t) -> ::c_int;
|
||||
pub fn sendmmsg(sockfd: ::c_int, msgvec: *mut ::mmsghdr, vlen: ::c_uint,
|
||||
flags: ::c_int) -> ::c_int;
|
||||
flags: ::c_uint) -> ::c_int;
|
||||
pub fn recvmmsg(sockfd: ::c_int, msgvec: *mut ::mmsghdr, vlen: ::c_uint,
|
||||
flags: ::c_int, timeout: *mut ::timespec) -> ::c_int;
|
||||
flags: ::c_uint, timeout: *mut ::timespec) -> ::c_int;
|
||||
pub fn sync();
|
||||
pub fn ioctl(fd: ::c_int, request: ::c_int, ...) -> ::c_int;
|
||||
pub fn getpriority(which: ::c_int, who: ::id_t) -> ::c_int;
|
||||
|
Loading…
Reference in New Issue
Block a user