mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-26 16:34:35 +00:00
Merge pull request #44 from hrydgard/nominmax-fix
Avoid redefinition warnings of NOMINMAX by checking if it's already been defined.
This commit is contained in:
commit
f95e85e508
@ -1369,7 +1369,9 @@ available through VmaAllocatorCreateInfo::pRecordSettings.
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX // For Windows.h
|
||||
#endif
|
||||
|
||||
#include <vulkan/vulkan.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user