Add "_aligned_malloc" on windows platform

This commit is contained in:
kellda 2020-07-25 09:16:13 +00:00
parent b2e250e3bd
commit 32b1303947
1 changed files with 2 additions and 0 deletions

View File

@ -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" {