auto merge of #13315 : alexcrichton/rust/libc, r=alexcrichton,me

Rebasing of #12526 with a very obscure bug fixed on windows.
This commit is contained in:
bors 2014-04-06 02:56:39 -07:00
commit f1f50565a1
124 changed files with 612 additions and 511 deletions

View file

@ -58,12 +58,14 @@ mod imp {
#[cfg(windows)]
mod imp {
extern crate libc;
use Rng;
use std::cast;
use std::io::{IoResult, IoError};
use std::libc::{c_ulong, DWORD, BYTE, LPCSTR, BOOL};
use std::os;
use std::rt::stack;
use self::libc::{c_ulong, DWORD, BYTE, LPCSTR, BOOL};
type HCRYPTPROV = c_ulong;