diff --git a/ggml.c b/ggml.c index 1d5854960..476c8b7d8 100644 --- a/ggml.c +++ b/ggml.c @@ -43,6 +43,10 @@ #if defined(_WIN32) +#define WIN32_LEAN_AND_MEAN +#ifndef NOMINMAX + #define NOMINMAX +#endif #include typedef volatile LONG atomic_int;