Update for winapi

This commit is contained in:
Pierre Krieger 2015-03-30 05:58:13 +02:00
parent 9ce644618b
commit 556e1b4caf
2 changed files with 8 additions and 8 deletions

View file

@ -38,12 +38,12 @@ glutin_core_foundation = "0"
[target.i686-pc-windows-gnu.dependencies]
winapi = "0.1"
gdi32-sys = "*"
user32-sys = "*"
kernel32-sys = "*"
gdi32-sys = "0.1"
user32-sys = "0.1"
kernel32-sys = "0.1"
[target.x86_64-pc-windows-gnu.dependencies]
winapi = "0.1"
gdi32-sys = "*"
user32-sys = "*"
kernel32-sys = "*"
gdi32-sys = "0.1"
user32-sys = "0.1"
kernel32-sys = "0.1"

View file

@ -34,9 +34,9 @@ extern crate winapi;
#[cfg(target_os = "windows")]
extern crate kernel32;
#[cfg(target_os = "windows")]
extern crate gdi32_sys as gdi32;
extern crate gdi32;
#[cfg(target_os = "windows")]
extern crate user32_sys as user32;
extern crate user32;
#[cfg(target_os = "macos")]
#[macro_use]
extern crate objc;