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:
commit
f1f50565a1
124 changed files with 612 additions and 511 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue