Skip to content

Commit

Permalink
Merge pull request #18 from foxzool/main
Browse files Browse the repository at this point in the history
Fixed cross-compil build from Linux to Windows
  • Loading branch information
rainliu committed Mar 27, 2022
2 parents a8f4e2b + 3d29b14 commit f53886b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/util/src/ifaces/ffi/windows/mod.rs
Expand Up @@ -30,7 +30,7 @@ const PREALLOC_ADAPTERS_LEN: usize = 15 * 1024;

use crate::ifaces::{Interface, Kind, NextHop};

#[link(name = "Iphlpapi")]
#[link(name = "iphlpapi")]
extern "system" {
pub fn GetAdaptersAddresses(
family: ULONG,
Expand Down

0 comments on commit f53886b

Please sign in to comment.