mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 22:31:30 +11:00
Update for winapi
This commit is contained in:
parent
9ce644618b
commit
556e1b4caf
12
Cargo.toml
12
Cargo.toml
|
@ -38,12 +38,12 @@ glutin_core_foundation = "0"
|
||||||
|
|
||||||
[target.i686-pc-windows-gnu.dependencies]
|
[target.i686-pc-windows-gnu.dependencies]
|
||||||
winapi = "0.1"
|
winapi = "0.1"
|
||||||
gdi32-sys = "*"
|
gdi32-sys = "0.1"
|
||||||
user32-sys = "*"
|
user32-sys = "0.1"
|
||||||
kernel32-sys = "*"
|
kernel32-sys = "0.1"
|
||||||
|
|
||||||
[target.x86_64-pc-windows-gnu.dependencies]
|
[target.x86_64-pc-windows-gnu.dependencies]
|
||||||
winapi = "0.1"
|
winapi = "0.1"
|
||||||
gdi32-sys = "*"
|
gdi32-sys = "0.1"
|
||||||
user32-sys = "*"
|
user32-sys = "0.1"
|
||||||
kernel32-sys = "*"
|
kernel32-sys = "0.1"
|
||||||
|
|
|
@ -34,9 +34,9 @@ extern crate winapi;
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
extern crate kernel32;
|
extern crate kernel32;
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
extern crate gdi32_sys as gdi32;
|
extern crate gdi32;
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
extern crate user32_sys as user32;
|
extern crate user32;
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate objc;
|
extern crate objc;
|
||||||
|
|
Loading…
Reference in a new issue