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 @@ -299,6 +299,8 @@ fn test_apple(target: &str) {
299
299
"SF_SETTABLE" => true ,
300
300
// FIXME: the values have been changed since Big Sur
301
301
"HW_TARGET" | "HW_PRODUCT" | "HW_MAXID" => true ,
302
+ // this const requires macOS 11.0 or higher
303
+ "RTF_GLOBAL" => true ,
302
304
_ => false ,
303
305
}
304
306
} ) ;
Original file line number Diff line number Diff line change @@ -1043,10 +1043,12 @@ RTF_BLACKHOLE
1043
1043
RTF_BROADCAST
1044
1044
RTF_CLONING
1045
1045
RTF_CONDEMNED
1046
+ RTF_DEAD
1046
1047
RTF_DELCLONE
1047
1048
RTF_DONE
1048
1049
RTF_DYNAMIC
1049
1050
RTF_GATEWAY
1051
+ RTF_GLOBAL
1050
1052
RTF_HOST
1051
1053
RTF_IFREF
1052
1054
RTF_IFSCOPE
Original file line number Diff line number Diff line change @@ -4229,6 +4229,8 @@ pub const RTF_CONDEMNED: ::c_int = 0x2000000;
4229
4229
pub const RTF_IFREF : :: c_int = 0x4000000 ;
4230
4230
pub const RTF_PROXY : :: c_int = 0x8000000 ;
4231
4231
pub const RTF_ROUTER : :: c_int = 0x10000000 ;
4232
+ pub const RTF_DEAD : :: c_int = 0x20000000 ;
4233
+ pub const RTF_GLOBAL : :: c_int = 0x40000000 ;
4232
4234
4233
4235
pub const RTM_VERSION : :: c_int = 5 ;
4234
4236
You can’t perform that action at this time.
0 commit comments