iOS: fallout of Sync oibit
This commit is contained in:
parent
d2368c3c11
commit
c3ff80399b
@ -170,6 +170,7 @@ mod imp {
|
||||
extern crate libc;
|
||||
|
||||
use io::{IoResult};
|
||||
use kinds::Sync;
|
||||
use mem;
|
||||
use os;
|
||||
use rand::Rng;
|
||||
@ -196,6 +197,8 @@ mod imp {
|
||||
#[repr(C)]
|
||||
struct SecRandom;
|
||||
|
||||
unsafe impl Sync for *const SecRandom {}
|
||||
|
||||
#[allow(non_upper_case_globals)]
|
||||
static kSecRandomDefault: *const SecRandom = 0 as *const SecRandom;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user