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:
Adam Sawicki 2018-09-24 12:38:10 +02:00 committed by GitHub
commit f95e85e508
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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