From e5b7332e89d74027ef63c8574835e71c9e5175e4 Mon Sep 17 00:00:00 2001 From: Unknown Date: Wed, 7 Mar 2018 22:06:25 +0100 Subject: [PATCH] Add android support. --- src/vk_mem_alloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vk_mem_alloc.h b/src/vk_mem_alloc.h index 86f153f..21a3944 100644 --- a/src/vk_mem_alloc.h +++ b/src/vk_mem_alloc.h @@ -1891,7 +1891,7 @@ remove them if not needed. #define VMA_NULL nullptr #endif -#if defined(__APPLE__) +#if defined(__APPLE__) || defined(__ANDROID__) #include void *aligned_alloc(size_t alignment, size_t size) {