Avoid redefinition warnings of NOMINMAX if you've already defined it.

This commit is contained in:
Henrik Rydgård 2018-09-24 11:18:41 +02:00
parent f305aebdfd
commit 14f79094d4

View File

@ -1369,7 +1369,9 @@ available through VmaAllocatorCreateInfo::pRecordSettings.
#endif
#endif
#ifndef NOMINMAX
#define NOMINMAX // For Windows.h
#endif
#include <vulkan/vulkan.h>