Merge pull request #1839 from kellda/_aligned_malloc

Add "_aligned_malloc" on windows platform
This commit is contained in:
Yuki Okushi 2020-07-26 23:06:18 +09:00 committed by GitHub
commit 04804c7bd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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" {