From 6ffb590e15a4852d42dda5d29af7be083f4854f8 Mon Sep 17 00:00:00 2001 From: Xuan Son Nguyen Date: Mon, 13 Jan 2025 12:03:19 +0100 Subject: [PATCH] fix windows build? --- common/arg.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/arg.cpp b/common/arg.cpp index 56d46ea2c..d8075171b 100644 --- a/common/arg.cpp +++ b/common/arg.cpp @@ -3,6 +3,10 @@ #include "log.h" #include "sampling.h" +#ifdef _WIN32 +#define NOMINMAX +#endif + #include #include #include