diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/System/IO/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Win32/System/IO/mod.rs | 8 |
1 files changed, 4 insertions, 4 deletions
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<unsafe extern "system" fn(dwerrorcode: u32, dwnumberofbytestransfered: u32, lpoverlapped: *mut OVERLAPPED)>; #[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<unsafe extern "system" fn(dwerrorcode: u32, dwnumberofbytestransfered: u32, lpoverlapped: *mut OVERLAPPED)>; |