File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2143,7 +2143,10 @@ pub const ENOTRECOVERABLE: c_int = 104;
21432143pub const EOWNERDEAD : c_int = 105 ;
21442144pub const EQFULL : c_int = 106 ;
21452145pub const ENOTCAPABLE : c_int = 107 ;
2146- pub const ELAST : c_int = 107 ;
2146+
2147+ ct ! {
2148+ pub const ELAST : c_int = 107 ;
2149+ }
21472150
21482151pub const EAI_AGAIN : c_int = 2 ;
21492152pub const EAI_BADFLAGS : c_int = 3 ;
Original file line number Diff line number Diff line change @@ -548,7 +548,11 @@ pub const ENOMEDIUM: c_int = 93;
548548pub const ENOTRECOVERABLE : c_int = 94 ;
549549pub const EOWNERDEAD : c_int = 95 ;
550550pub const EASYNC : c_int = 99 ;
551- pub const ELAST : c_int = 99 ;
551+
552+ ct ! {
553+ pub const ELAST : c_int = 99 ;
554+ }
555+
552556pub const RLIMIT_POSIXLOCKS : c_int = 11 ;
553557#[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
554558pub const RLIM_NLIMITS : crate :: rlim_t = 12 ;
Original file line number Diff line number Diff line change @@ -258,7 +258,10 @@ s! {
258258 }
259259}
260260
261- pub const ELAST : c_int = 96 ;
261+ ct ! {
262+ pub const ELAST : c_int = 96 ;
263+ }
264+
262265pub const RAND_MAX : c_int = 0x7fff_fffd ;
263266pub const KI_NSPARE_PTR : usize = 6 ;
264267pub const MINCORE_SUPER : c_int = 0x20 ;
Original file line number Diff line number Diff line change @@ -304,7 +304,10 @@ s! {
304304}
305305
306306pub const RAND_MAX : c_int = 0x7fff_fffd ;
307- pub const ELAST : c_int = 97 ;
307+
308+ ct ! {
309+ pub const ELAST : c_int = 97 ;
310+ }
308311
309312/// max length of devicename
310313pub const SPECNAMELEN : c_int = 63 ;
Original file line number Diff line number Diff line change @@ -317,7 +317,10 @@ s! {
317317}
318318
319319pub const RAND_MAX : c_int = 0x7fff_ffff ;
320- pub const ELAST : c_int = 97 ;
320+
321+ ct ! {
322+ pub const ELAST : c_int = 97 ;
323+ }
321324
322325pub const KF_TYPE_EVENTFD : c_int = 13 ;
323326
Original file line number Diff line number Diff line change @@ -319,7 +319,10 @@ s! {
319319}
320320
321321pub const RAND_MAX : c_int = 0x7fff_ffff ;
322- pub const ELAST : c_int = 97 ;
322+
323+ ct ! {
324+ pub const ELAST : c_int = 97 ;
325+ }
323326
324327pub const KF_TYPE_EVENTFD : c_int = 13 ;
325328
Original file line number Diff line number Diff line change @@ -321,7 +321,10 @@ s! {
321321}
322322
323323pub const RAND_MAX : c_int = 0x7fff_ffff ;
324- pub const ELAST : c_int = 97 ;
324+
325+ ct ! {
326+ pub const ELAST : c_int = 97 ;
327+ }
325328
326329pub const KF_TYPE_EVENTFD : c_int = 13 ;
327330
Original file line number Diff line number Diff line change @@ -945,7 +945,10 @@ pub const EBADMSG: c_int = 92;
945945pub const ENOTRECOVERABLE : c_int = 93 ;
946946pub const EOWNERDEAD : c_int = 94 ;
947947pub const EPROTO : c_int = 95 ;
948- pub const ELAST : c_int = 95 ;
948+
949+ ct ! {
950+ pub const ELAST : c_int = 95 ;
951+ }
949952
950953pub const F_DUPFD_CLOEXEC : c_int = 10 ;
951954
You can’t perform that action at this time.
0 commit comments