mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-09-18 12:04:38 -04:00
Merge branch 'target_env_musl' into 'main'
Adding musl target env See merge request veilid/veilid!177
This commit is contained in:
commit
3fdf12e536
1 changed files with 1 additions and 1 deletions
|
@ -122,7 +122,7 @@ impl PlatformSupportNetlink {
|
||||||
}
|
}
|
||||||
|
|
||||||
cfg_if! {
|
cfg_if! {
|
||||||
if #[cfg(target_os = "android")] {
|
if #[cfg(any(target_os = "android", target_env = "musl"))] {
|
||||||
let res = unsafe { ioctl(sock, SIOCGIFFLAGS as i32, &mut req) };
|
let res = unsafe { ioctl(sock, SIOCGIFFLAGS as i32, &mut req) };
|
||||||
} else {
|
} else {
|
||||||
let res = unsafe { ioctl(sock, SIOCGIFFLAGS, &mut req) };
|
let res = unsafe { ioctl(sock, SIOCGIFFLAGS, &mut req) };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue