From a41a82feabe0e7ab1579ca4b9ee6695a08aa0059 Mon Sep 17 00:00:00 2001 From: Sadie Date: Tue, 29 Oct 2024 19:35:24 -0700 Subject: [PATCH] Fix building of libweaver under MSYS2 --- lib/file.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/file.cpp b/lib/file.cpp index a4ce05c..495c08c 100644 --- a/lib/file.cpp +++ b/lib/file.cpp @@ -1,11 +1,18 @@ #include "file.h" #ifdef _WIN32 + +#ifndef NOMINMAX #define NOMINMAX +#endif + #include + #else + #include #define FSTR(x) static_cast(x) + #endif namespace si {