Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

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 d51c73a + 36cb1b5 commit 2d193c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ifaces/ffi/windows/mod.rs
Original file line number Diff line number Diff line change
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 2d193c0

Please sign in to comment.