mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-26 00:34:35 +00:00
Guard NOMINMAX
mingw64 defines it by default, this prevents multiple definition warnings/errors
This commit is contained in:
parent
81f5b31cb3
commit
c71a5b5fd8
@ -21,7 +21,9 @@
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include <fcntl.h>
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#endif // _WIN32
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user