Merge pull request #10 from Noxivs/master

Link for Win32
This commit is contained in:
Steven Fackler 2014-05-05 12:42:13 -07:00
commit f2edd4c398
1 changed files with 5 additions and 0 deletions

View File

@ -156,3 +156,8 @@ extern "C" {
pub fn BIO_read(b: *BIO, buf: *c_void, len: c_int) -> c_int;
pub fn BIO_write(b: *BIO, buf: *c_void, len: c_int) -> c_int;
}
#[cfg(target_os = "win32")]
#[link(name="gdi32")]
#[link(name="wsock32")]
extern { }