Merge pull request #325 from lawadr/use-alignof

Change __alignof to alignof
This commit is contained in:
Adam Sawicki 2023-03-22 17:42:59 +01:00 committed by GitHub
commit 41baf86685
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2806,7 +2806,7 @@ static void vma_aligned_free(void* VMA_NULLABLE ptr)
#endif #endif
#ifndef VMA_ALIGN_OF #ifndef VMA_ALIGN_OF
#define VMA_ALIGN_OF(type) (__alignof(type)) #define VMA_ALIGN_OF(type) (alignof(type))
#endif #endif
#ifndef VMA_SYSTEM_ALIGNED_MALLOC #ifndef VMA_SYSTEM_ALIGNED_MALLOC