summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs')
-rw-r--r--vendor/windows-sys/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs
index 014d7280c..da7b9cc8c 100644
--- a/vendor/windows-sys/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs
+++ b/vendor/windows-sys/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs
@@ -1,4 +1,4 @@
-#[link(name = "windows")]
+#[cfg_attr(windows, link(name = "windows"))]
extern "system" {
#[doc = "*Required features: `\"Win32_System_WinRT_Direct3D11\"`, `\"Win32_Graphics_Dxgi\"`*"]
#[cfg(feature = "Win32_Graphics_Dxgi")]