mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-30 05:10:03 -04:00
Use cfg aliases throught the code base
Co-authored-by: Mads Marquart <mads@marquart.dk>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#![cfg(target_os = "windows")]
|
||||
#![cfg(windows_platform)]
|
||||
|
||||
use windows_sys::Win32::{
|
||||
Foundation::{HANDLE, HWND},
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#![cfg(target_os = "windows")]
|
||||
#![cfg(windows_platform)]
|
||||
|
||||
use raw_window_handle::{
|
||||
RawDisplayHandle, RawWindowHandle, Win32WindowHandle, WindowsDisplayHandle,
|
||||
|
||||
Reference in New Issue
Block a user