From 4e8199b572f2035b7749cba276ece3a26630d23e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:18:21 +0200 Subject: Adding upstream version 1.67.1+dfsg1. Signed-off-by: Daniel Baumann --- vendor/windows-sys/src/Windows/Win32/System/IO/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'vendor/windows-sys/src/Windows/Win32/System/IO/mod.rs') diff --git a/vendor/windows-sys/src/Windows/Win32/System/IO/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/IO/mod.rs index dee1e2440..8788bdbba 100644 --- a/vendor/windows-sys/src/Windows/Win32/System/IO/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/System/IO/mod.rs @@ -1,4 +1,4 @@ -#[link(name = "windows")] +#[cfg_attr(windows, link(name = "windows"))] extern "system" { #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -34,9 +34,6 @@ extern "system" { #[cfg(feature = "Win32_Foundation")] pub fn PostQueuedCompletionStatus(completionport: super::super::Foundation::HANDLE, dwnumberofbytestransferred: u32, dwcompletionkey: usize, lpoverlapped: *const OVERLAPPED) -> super::super::Foundation::BOOL; } -#[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] -#[cfg(feature = "Win32_Foundation")] -pub type LPOVERLAPPED_COMPLETION_ROUTINE = ::core::option::Option; #[repr(C)] #[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] #[cfg(feature = "Win32_Foundation")] @@ -101,3 +98,6 @@ impl ::core::clone::Clone for OVERLAPPED_ENTRY { *self } } +#[doc = "*Required features: `\"Win32_System_IO\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub type LPOVERLAPPED_COMPLETION_ROUTINE = ::core::option::Option; -- cgit v1.2.3