Skip to content

Commit 1e425dd

Browse files
Added #ifdef NOMINMAX. Thanks Krzysztof Kondrak !
1 parent c77a123 commit 1e425dd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/vk_mem_alloc.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1369,7 +1369,9 @@ available through VmaAllocatorCreateInfo::pRecordSettings.
13691369
#endif
13701370
#endif
13711371

1372-
#define NOMINMAX // For windows.h
1372+
#ifndef NOMINMAX
1373+
#define NOMINMAX // For windows.h
1374+
#endif
13731375

13741376
#include <vulkan/vulkan.h>
13751377

0 commit comments

Comments
 (0)