From 14eebe23fc041a71824a9a8f1398a207271016d5 Mon Sep 17 00:00:00 2001 From: Jared Van Bortel Date: Thu, 21 Mar 2024 17:29:47 -0400 Subject: [PATCH] ggml : fix missing #defines before windows.h --- ggml.c | 4 ++++ 1 file changed, 4 insertions(+) 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;