From bf83ae571d07aaa01761070bf1e1e5480a31d10e Mon Sep 17 00:00:00 2001 From: neru Date: Fri, 19 Jun 2026 14:26:34 -0300 Subject: [PATCH] fix: undef error, include minwindef instead of windows --- src/unlocker/win-platform.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/unlocker/win-platform.h b/src/unlocker/win-platform.h index beaa07e..f0a7024 100644 --- a/src/unlocker/win-platform.h +++ b/src/unlocker/win-platform.h @@ -3,10 +3,16 @@ #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif + #ifndef NOMINMAX #define NOMINMAX #endif #if defined(_WIN32) - #include + #include + #include #endif + +#ifdef ERROR + #undef ERROR +#endif \ No newline at end of file