Auto merge of #728 - semarie:openbsd-kqueue, r=alexcrichton

Openbsd kqueue

The PR supersede #613 to add exception on the testsuite.
This commit is contained in:
bors 2017-08-13 14:39:19 +00:00
commit 24155b1890
2 changed files with 5 additions and 0 deletions

View File

@ -440,6 +440,9 @@ fn main() {
"KERN_USERMOUNT" |
"KERN_ARND" if openbsd => true,
// These constats were added in OpenBSD 6.2
"EV_RECEIPT" | "EV_DISPATCH" if openbsd => true,
// These are either unimplemented or optionally built into uClibc
"LC_CTYPE_MASK" | "LC_NUMERIC_MASK" | "LC_TIME_MASK" | "LC_COLLATE_MASK" | "LC_MONETARY_MASK" | "LC_MESSAGES_MASK" |
"MADV_MERGEABLE" | "MADV_UNMERGEABLE" | "MADV_HWPOISON" | "IPV6_ADD_MEMBERSHIP" | "IPV6_DROP_MEMBERSHIP" | "IPV6_MULTICAST_LOOP" | "IPV6_V6ONLY" |

View File

@ -431,6 +431,8 @@ pub const EV_ENABLE: ::uint16_t = 0x4;
pub const EV_DISABLE: ::uint16_t = 0x8;
pub const EV_ONESHOT: ::uint16_t = 0x10;
pub const EV_CLEAR: ::uint16_t = 0x20;
pub const EV_RECEIPT: ::uint16_t = 0x40;
pub const EV_DISPATCH: ::uint16_t = 0x80;
pub const EV_FLAG1: ::uint16_t = 0x2000;
pub const EV_ERROR: ::uint16_t = 0x4000;
pub const EV_EOF: ::uint16_t = 0x8000;