gguf_reader.hpp: define NOMINMAX before windows.h
This commit is contained in:
1 parent
c9d3fd6877
commit
255bf03d3e
1 file changed
+3
@@ -32,6 +32,9 @@
|
||||
|
||||
#ifdef _WIN32
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX // windows.h's min/max macros would break std::min/std::max in every file that includes this one
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <fcntl.h>
|
||||
|
||||
Reference in new issue
Block a user