Hoist PATH_MAX into src/bsd it's common to all the BSDs
This commit is contained in:
parent
93d6e987ea
commit
761f7bd5cd
@ -571,8 +571,6 @@ pub const SO_DONTTRUNC: ::c_int = 0x2000;
|
||||
pub const SO_WANTMORE: ::c_int = 0x4000;
|
||||
pub const SO_WANTOOBFLAG: ::c_int = 0x8000;
|
||||
|
||||
pub const PATH_MAX: ::c_int = 1024;
|
||||
|
||||
pub const _SC_ARG_MAX: ::c_int = 1;
|
||||
pub const _SC_CHILD_MAX: ::c_int = 2;
|
||||
pub const _SC_CLK_TCK: ::c_int = 3;
|
||||
|
@ -477,8 +477,6 @@ pub const MAP_NOCORE: ::c_int = 0x020000;
|
||||
|
||||
pub const IPPROTO_RAW: ::c_int = 255;
|
||||
|
||||
pub const PATH_MAX: ::c_int = 1024;
|
||||
|
||||
pub const _SC_ARG_MAX: ::c_int = 1;
|
||||
pub const _SC_CHILD_MAX: ::c_int = 2;
|
||||
pub const _SC_CLK_TCK: ::c_int = 3;
|
||||
|
@ -79,6 +79,8 @@ s! {
|
||||
pub const FIOCLEX: ::c_ulong = 0x20006601;
|
||||
pub const FIONBIO: ::c_ulong = 0x8004667e;
|
||||
|
||||
pub const PATH_MAX: ::c_int = 1024;
|
||||
|
||||
pub const SA_ONSTACK: ::c_int = 0x0001;
|
||||
pub const SA_SIGINFO: ::c_int = 0x0040;
|
||||
pub const SA_RESTART: ::c_int = 0x0002;
|
||||
|
@ -324,8 +324,6 @@ pub const CTL_KERN : ::c_int = 1;
|
||||
|
||||
pub const IPPROTO_RAW : ::c_int = 255;
|
||||
|
||||
pub const PATH_MAX: ::c_int = 1024;
|
||||
|
||||
pub const _SC_ARG_MAX : ::c_int = 1;
|
||||
pub const _SC_CHILD_MAX : ::c_int = 2;
|
||||
pub const _SC_NGROUPS_MAX : ::c_int = 4;
|
||||
|
Loading…
Reference in New Issue
Block a user