mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-05 12:20:07 +00:00
Add android support.
This commit is contained in:
parent
b31aac8a06
commit
e5b7332e89
@ -1891,7 +1891,7 @@ remove them if not needed.
|
|||||||
#define VMA_NULL nullptr
|
#define VMA_NULL nullptr
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
#if defined(__APPLE__) || defined(__ANDROID__)
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
void *aligned_alloc(size_t alignment, size_t size)
|
void *aligned_alloc(size_t alignment, size_t size)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user