Merge pull request #325 from bfops/master

Use crates.io libc.
This commit is contained in:
Tony Aldridge
2015-02-09 09:13:00 +00:00
4 changed files with 6 additions and 2 deletions
+1
View File
@@ -15,6 +15,7 @@ path = "src/sdl2/lib.rs"
[dependencies]
bitflags = "0.1"
libc = "*"
[dependencies.sdl2-sys]
+3
View File
@@ -13,6 +13,9 @@ build = "build.rs"
name = "sdl2-sys"
path = "src/lib.rs"
[dependencies]
libc = "*"
[build-dependencies]
pkg-config = "0.1.7"
+1 -1
View File
@@ -1,6 +1,6 @@
#![allow(non_camel_case_types)]
#![feature(core, libc)]
#![feature(core)]
extern crate libc;
+1 -1
View File
@@ -1,7 +1,7 @@
#![crate_name = "sdl2"]
#![crate_type = "lib"]
#![feature(slicing_syntax, unsafe_destructor, optin_builtin_traits, std_misc, io, libc, hash, core, collections, rand, path)]
#![feature(slicing_syntax, unsafe_destructor, optin_builtin_traits, std_misc, io, hash, core, collections, rand, path)]
extern crate libc;
extern crate collections;