Skip to content
Snippets Groups Projects
Unverified Commit 04804c7b authored by Yuki Okushi's avatar Yuki Okushi Committed by GitHub
Browse files

Merge pull request #1839 from kellda/_aligned_malloc

Add "_aligned_malloc" on windows platform
parents d706b4db 32b13039
No related branches found
No related tags found
Loading
...@@ -529,6 +529,8 @@ extern "C" { ...@@ -529,6 +529,8 @@ extern "C" {
category: ::c_int, category: ::c_int,
locale: *const wchar_t, locale: *const wchar_t,
) -> *mut wchar_t; ) -> *mut wchar_t;
#[link_name = "_aligned_malloc"]
pub fn aligned_malloc(size: size_t, alignment: size_t) -> *mut c_void;
} }
extern "system" { extern "system" {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment