Merge pull request #22 from ItsBits/android_support

Add android support.
This commit is contained in:
Adam Sawicki 2018-03-08 10:17:46 +01:00 committed by GitHub
commit ff1cf54330
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)
{