We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9456069 commit 2e37247Copy full SHA for 2e37247
include/vk_mem_alloc.h
@@ -3157,7 +3157,7 @@ static void vma_aligned_free(void* VMA_NULLABLE ptr)
3157
std::shared_mutex m_Mutex;
3158
};
3159
#define VMA_RW_MUTEX VmaRWMutex
3160
- #elif defined(_WIN32) && defined(WINVER) && WINVER >= 0x0600
+ #elif defined(_WIN32) && defined(WINVER) && defined(SRWLOCK_INIT) && WINVER >= 0x0600
3161
// Use SRWLOCK from WinAPI.
3162
// Minimum supported client = Windows Vista, server = Windows Server 2008.
3163
class VmaRWMutex
0 commit comments