mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1120272 - Expose _aligned_alloc and _aligned_free from mozglue. r=njn
This commit is contained in:
parent
faec13791c
commit
dac0d3a532
@ -169,4 +169,10 @@ wcsdup_impl(const wchar_t *src)
|
||||
wcsncpy(dst, src, len + 1);
|
||||
return dst;
|
||||
}
|
||||
|
||||
void *
|
||||
_aligned_malloc(size_t size, size_t alignment)
|
||||
{
|
||||
return memalign_impl(alignment, size);
|
||||
}
|
||||
#endif /* XP_WIN */
|
||||
|
@ -15,6 +15,7 @@ EXPORTS
|
||||
posix_memalign=posix_memalign_impl
|
||||
malloc_usable_size=malloc_usable_size_impl
|
||||
malloc_good_size=malloc_good_size_impl
|
||||
_aligned_free=free_impl
|
||||
#else
|
||||
malloc=je_malloc
|
||||
calloc=je_calloc
|
||||
@ -23,7 +24,9 @@ EXPORTS
|
||||
posix_memalign=je_posix_memalign
|
||||
malloc_usable_size=je_malloc_usable_size
|
||||
malloc_good_size=je_malloc_good_size
|
||||
_aligned_free=je_free
|
||||
#endif
|
||||
_aligned_malloc
|
||||
strndup=wrap_strndup
|
||||
strdup=wrap_strdup
|
||||
_strdup=wrap_strdup
|
||||
|
Loading…
Reference in New Issue
Block a user