File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -297,6 +297,8 @@ fn test_apple(target: &str) {
297297 "SF_SETTABLE" => true ,
298298 // FIXME: the values have been changed since Big Sur
299299 "HW_TARGET" | "HW_PRODUCT" | "HW_MAXID" => true ,
300+ // this const requires macOS 11.0 or higher
301+ "RTF_GLOBAL" => true ,
300302 _ => false ,
301303 }
302304 } ) ;
Original file line number Diff line number Diff line change @@ -1043,10 +1043,12 @@ RTF_BLACKHOLE
10431043RTF_BROADCAST
10441044RTF_CLONING
10451045RTF_CONDEMNED
1046+ RTF_DEAD
10461047RTF_DELCLONE
10471048RTF_DONE
10481049RTF_DYNAMIC
10491050RTF_GATEWAY
1051+ RTF_GLOBAL
10501052RTF_HOST
10511053RTF_IFREF
10521054RTF_IFSCOPE
Original file line number Diff line number Diff line change @@ -4229,6 +4229,8 @@ pub const RTF_CONDEMNED: ::c_int = 0x2000000;
42294229pub const RTF_IFREF : :: c_int = 0x4000000 ;
42304230pub const RTF_PROXY : :: c_int = 0x8000000 ;
42314231pub const RTF_ROUTER : :: c_int = 0x10000000 ;
4232+ pub const RTF_DEAD : :: c_int = 0x20000000 ;
4233+ pub const RTF_GLOBAL : :: c_int = 0x40000000 ;
42324234
42334235pub const RTM_VERSION : :: c_int = 5 ;
42344236
You can’t perform that action at this time.
0 commit comments