Guard NOMINMAX

mingw64 defines it by default, this prevents multiple definition warnings/errors
This commit is contained in:
Charles Giessen 2021-02-18 10:31:23 -07:00 committed by Charles Giessen
parent 81f5b31cb3
commit c71a5b5fd8

View File

@ -21,7 +21,9 @@
#if defined(_WIN32)
#include <fcntl.h>
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <windows.h>
#endif // _WIN32