Do not compile the if_nameindex
struct for android
This commit is contained in:
parent
73dacf775f
commit
d02c2b6f1b
@ -110,6 +110,7 @@ s! {
|
||||
pub ws_ypixel: ::c_ushort,
|
||||
}
|
||||
|
||||
#[cfg(not(target_os = "android"))]
|
||||
pub struct if_nameindex {
|
||||
pub if_index: ::c_uint,
|
||||
pub if_name: *mut ::c_char,
|
||||
|
Loading…
Reference in New Issue
Block a user