Skip to content

Commit

Permalink
Add "_aligned_malloc" on windows platform
Browse files Browse the repository at this point in the history
  • Loading branch information
kellda committed Jul 25, 2020
1 parent b2e250e commit 32b1303
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/windows/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,8 @@ extern "C" {
category: ::c_int,
locale: *const wchar_t,
) -> *mut wchar_t;
#[link_name = "_aligned_malloc"]
pub fn aligned_malloc(size: size_t, alignment: size_t) -> *mut c_void;
}

extern "system" {
Expand Down

0 comments on commit 32b1303

Please sign in to comment.