Auto merge of #1205 - alecmocatta:master, r=gnzlbg

Comment FIOSEEK* until they're in a NetBSD release

Accidentally included two constants that aren't in the current release of NetBSD.

While this doesn't impact libc-consumers, failing the testsuite on latest NetBSD isn't ideal.

I've commented them out; they can be reintroduced when the next NetBSD ships with them included.
This commit is contained in:
bors 2019-01-13 11:31:33 +00:00
commit ab67803a55

View file

@ -988,8 +988,9 @@ pub const SOCK_CLOEXEC: ::c_int = 0x10000000;
pub const SOCK_NONBLOCK: ::c_int = 0x20000000;
pub const FIONCLEX: ::c_ulong = 0x20006602;
pub const FIOSEEKDATA: ::c_ulong = 0xc0086661;
pub const FIOSEEKHOLE: ::c_ulong = 0xc0086662;
// Uncomment on next NetBSD release
// pub const FIOSEEKDATA: ::c_ulong = 0xc0086661;
// pub const FIOSEEKHOLE: ::c_ulong = 0xc0086662;
pub const FIONREAD: ::c_ulong = 0x4004667f;
pub const FIOASYNC: ::c_ulong = 0x8004667d;
pub const FIOSETOWN: ::c_ulong = 0x8004667c;