]> git.proxmox.com Git - rustc.git/blobdiff - vendor/windows-sys/src/Windows/Win32/Devices/SerialCommunication/mod.rs
New upstream version 1.67.1+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Win32 / Devices / SerialCommunication / mod.rs
index 5864b5cae557729ff5cc690c60b8dfbf424d342a..bff9b3d36114df5fd668ad48d7e547c7e76eb3ef 100644 (file)
@@ -1,4 +1,4 @@
-#[link(name = "windows")]
+#[cfg_attr(windows, link(name = "windows"))]
 extern "system" {
     #[doc = "*Required features: `\"Win32_Devices_SerialCommunication\"`*"]
     pub fn ComDBClaimNextFreePort(hcomdb: HCOMDB, comnumber: *mut u32) -> i32;