Add android support.

This commit is contained in:
Unknown 2018-03-07 22:06:25 +01:00
parent b31aac8a06
commit e5b7332e89

View File

@ -1891,7 +1891,7 @@ remove them if not needed.
#define VMA_NULL nullptr
#endif
#if defined(__APPLE__)
#if defined(__APPLE__) || defined(__ANDROID__)
#include <cstdlib>
void *aligned_alloc(size_t alignment, size_t size)
{