File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,14 @@ libc_bitflags!{
89
89
EV_CLEAR ,
90
90
EV_DELETE ,
91
91
EV_DISABLE ,
92
- #[ cfg( not( target_os = "openbsd" ) ) ]
92
+ // No released version of OpenBSD supports EV_DISPATCH or EV_RECEIPT.
93
+ // These have been commited to the -current branch though and are
94
+ // expected to be part of the OpenBSD 6.2 release in Nov 2017.
95
+ // See: https://marc.info/?l=openbsd-tech&m=149621427511219&w=2
96
+ // https://github.com/rust-lang/libc/pull/613
97
+ #[ cfg( any( target_os = "macos" , target_os = "ios" ,
98
+ target_os = "freebsd" , target_os = "dragonfly" ,
99
+ target_os = "netbsd" ) ) ]
93
100
EV_DISPATCH ,
94
101
#[ cfg( target_os = "freebsd" ) ]
95
102
EV_DROP ,
@@ -106,7 +113,9 @@ libc_bitflags!{
106
113
EV_OOBAND ,
107
114
#[ cfg( any( target_os = "macos" , target_os = "ios" ) ) ]
108
115
EV_POLL ,
109
- #[ cfg( not( target_os = "openbsd" ) ) ]
116
+ #[ cfg( any( target_os = "macos" , target_os = "ios" ,
117
+ target_os = "freebsd" , target_os = "dragonfly" ,
118
+ target_os = "netbsd" ) ) ]
110
119
EV_RECEIPT ,
111
120
EV_SYSFLAGS ,
112
121
}
You can’t perform that action at this time.
0 commit comments