Add ENOTSUP constant to more platforms.
This commit is contained in:
parent
6e8c1b490c
commit
8c3e6ba74b
|
@ -419,6 +419,7 @@ pub const ENOPROTOOPT: ::c_int = 42;
|
|||
pub const EPROTONOSUPPORT: ::c_int = 43;
|
||||
pub const ESOCKTNOSUPPORT: ::c_int = 44;
|
||||
pub const EOPNOTSUPP: ::c_int = 45;
|
||||
pub const ENOTSUP: ::c_int = EOPNOTSUPP;
|
||||
pub const EPFNOSUPPORT: ::c_int = 46;
|
||||
pub const EAFNOSUPPORT: ::c_int = 47;
|
||||
pub const EADDRINUSE: ::c_int = 48;
|
||||
|
|
|
@ -331,6 +331,7 @@ pub const ENOPROTOOPT: ::c_int = 92;
|
|||
pub const EPROTONOSUPPORT: ::c_int = 93;
|
||||
pub const ESOCKTNOSUPPORT: ::c_int = 94;
|
||||
pub const EOPNOTSUPP: ::c_int = 95;
|
||||
pub const ENOTSUP: ::c_int = EOPNOTSUPP;
|
||||
pub const EPFNOSUPPORT: ::c_int = 96;
|
||||
pub const EAFNOSUPPORT: ::c_int = 97;
|
||||
pub const EADDRINUSE: ::c_int = 98;
|
||||
|
|
|
@ -308,6 +308,7 @@ pub const ENOPROTOOPT: ::c_int = 99;
|
|||
pub const EPROTONOSUPPORT: ::c_int = 120;
|
||||
pub const ESOCKTNOSUPPORT: ::c_int = 121;
|
||||
pub const EOPNOTSUPP: ::c_int = 122;
|
||||
pub const ENOTSUP: ::c_int = EOPNOTSUPP;
|
||||
pub const EPFNOSUPPORT: ::c_int = 123;
|
||||
pub const EAFNOSUPPORT: ::c_int = 124;
|
||||
pub const EADDRINUSE: ::c_int = 125;
|
||||
|
|
|
@ -196,6 +196,7 @@ pub const ENOPROTOOPT: ::c_int = 92;
|
|||
pub const EPROTONOSUPPORT: ::c_int = 93;
|
||||
pub const ESOCKTNOSUPPORT: ::c_int = 94;
|
||||
pub const EOPNOTSUPP: ::c_int = 95;
|
||||
pub const ENOTSUP: ::c_int = EOPNOTSUPP;
|
||||
pub const EPFNOSUPPORT: ::c_int = 96;
|
||||
pub const EAFNOSUPPORT: ::c_int = 97;
|
||||
pub const EADDRINUSE: ::c_int = 98;
|
||||
|
|
|
@ -196,6 +196,7 @@ pub const ENOPROTOOPT: ::c_int = 92;
|
|||
pub const EPROTONOSUPPORT: ::c_int = 93;
|
||||
pub const ESOCKTNOSUPPORT: ::c_int = 94;
|
||||
pub const EOPNOTSUPP: ::c_int = 95;
|
||||
pub const ENOTSUP: ::c_int = EOPNOTSUPP;
|
||||
pub const EPFNOSUPPORT: ::c_int = 96;
|
||||
pub const EAFNOSUPPORT: ::c_int = 97;
|
||||
pub const EADDRINUSE: ::c_int = 98;
|
||||
|
|
|
@ -198,6 +198,7 @@ pub const ENOPROTOOPT: ::c_int = 99;
|
|||
pub const EPROTONOSUPPORT: ::c_int = 120;
|
||||
pub const ESOCKTNOSUPPORT: ::c_int = 121;
|
||||
pub const EOPNOTSUPP: ::c_int = 122;
|
||||
pub const ENOTSUP: ::c_int = EOPNOTSUPP;
|
||||
pub const EPFNOSUPPORT: ::c_int = 123;
|
||||
pub const EAFNOSUPPORT: ::c_int = 124;
|
||||
pub const EADDRINUSE: ::c_int = 125;
|
||||
|
|
|
@ -209,6 +209,7 @@ pub const ENOPROTOOPT: ::c_int = 92;
|
|||
pub const EPROTONOSUPPORT: ::c_int = 93;
|
||||
pub const ESOCKTNOSUPPORT: ::c_int = 94;
|
||||
pub const EOPNOTSUPP: ::c_int = 95;
|
||||
pub const ENOTSUP: ::c_int = EOPNOTSUPP;
|
||||
pub const EPFNOSUPPORT: ::c_int = 96;
|
||||
pub const EAFNOSUPPORT: ::c_int = 97;
|
||||
pub const EADDRINUSE: ::c_int = 98;
|
||||
|
|
|
@ -218,6 +218,7 @@ pub const ENOPROTOOPT: ::c_int = 92;
|
|||
pub const EPROTONOSUPPORT: ::c_int = 93;
|
||||
pub const ESOCKTNOSUPPORT: ::c_int = 94;
|
||||
pub const EOPNOTSUPP: ::c_int = 95;
|
||||
pub const ENOTSUP: ::c_int = EOPNOTSUPP;
|
||||
pub const EPFNOSUPPORT: ::c_int = 96;
|
||||
pub const EAFNOSUPPORT: ::c_int = 97;
|
||||
pub const EADDRINUSE: ::c_int = 98;
|
||||
|
|
|
@ -247,6 +247,7 @@ pub const ENOPROTOOPT: ::c_int = 92;
|
|||
pub const EPROTONOSUPPORT: ::c_int = 93;
|
||||
pub const ESOCKTNOSUPPORT: ::c_int = 94;
|
||||
pub const EOPNOTSUPP: ::c_int = 95;
|
||||
pub const ENOTSUP: ::c_int = EOPNOTSUPP;
|
||||
pub const EPFNOSUPPORT: ::c_int = 96;
|
||||
pub const EAFNOSUPPORT: ::c_int = 97;
|
||||
pub const EADDRINUSE: ::c_int = 98;
|
||||
|
|
|
@ -389,6 +389,7 @@ pub const ENOPROTOOPT: ::c_int = 92;
|
|||
pub const EPROTONOSUPPORT: ::c_int = 93;
|
||||
pub const ESOCKTNOSUPPORT: ::c_int = 94;
|
||||
pub const EOPNOTSUPP: ::c_int = 95;
|
||||
pub const ENOTSUP: ::c_int = EOPNOTSUPP;
|
||||
pub const EPFNOSUPPORT: ::c_int = 96;
|
||||
pub const EAFNOSUPPORT: ::c_int = 97;
|
||||
pub const ENETDOWN: ::c_int = 100;
|
||||
|
|
|
@ -602,6 +602,7 @@ pub const EMLINK: ::c_int = 31;
|
|||
pub const EPIPE: ::c_int = 32;
|
||||
pub const EDOM: ::c_int = 33;
|
||||
pub const ERANGE: ::c_int = 34;
|
||||
pub const ENOTSUP: ::c_int = 48;
|
||||
pub const EAGAIN: ::c_int = 11;
|
||||
pub const EWOULDBLOCK: ::c_int = 11;
|
||||
pub const EINPROGRESS: ::c_int = 150;
|
||||
|
|
Loading…
Reference in New Issue