Skip to content

Commit e49e9bb

Browse files
committed
Auto merge of #478 - jackpot51:patch-1, r=alexcrichton
Add memalign to Redox (for use in allocator) This is required to satisfy a review item here: rust-lang/rust#38401
2 parents b21b709 + 6ff14a9 commit e49e9bb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/redox.rs

+4
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,7 @@ s! {
4747
pub sin6_scope_id: u32,
4848
}
4949
}
50+
51+
extern {
52+
pub fn memalign(align: ::size_t, size: ::size_t) -> *mut ::c_void;
53+
}

0 commit comments

Comments
 (0)