mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-05 12:20:07 +00:00
Merge pull request #325 from lawadr/use-alignof
Change __alignof to alignof
This commit is contained in:
commit
41baf86685
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user