diff --git a/src/vk_mem_alloc.h b/src/vk_mem_alloc.h index fcee4aa..0125143 100644 --- a/src/vk_mem_alloc.h +++ b/src/vk_mem_alloc.h @@ -1226,7 +1226,7 @@ remove them if not needed. #include // for assert #include // for min, max #include // for std::mutex -#include // for std::atomic_uint32_t +#include // for std::atomic #if !defined(_WIN32) #include // for aligned_alloc() @@ -1341,7 +1341,7 @@ If providing your own implementation, you need to implement a subset of std::ato - bool compare_exchange_weak(uint32_t& expected, uint32_t desired) */ #ifndef VMA_ATOMIC_UINT32 - #define VMA_ATOMIC_UINT32 std::atomic_uint32_t + #define VMA_ATOMIC_UINT32 std::atomic #endif #ifndef VMA_BEST_FIT