From cb3f3e74ff8eb53cd6bf9571deb34c27d968dc34 Mon Sep 17 00:00:00 2001 From: Fishybeing <328519762+Fishybeing@users.noreply.github.com> Date: Wed, 7 Oct 2026 15:00:08 +0200 Subject: [PATCH] build(windows): guard NOMINMAX in Rtld.cpp Rtld.cpp defined NOMINMAX unconditionally, which redefines the macro the build already passes and warns on MinGW. Use the #ifndef guard the rest of the tree uses. --- core/libs/prx/libkernel/System/src/Rtld.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/libs/prx/libkernel/System/src/Rtld.cpp b/core/libs/prx/libkernel/System/src/Rtld.cpp index ad3fa2a65..bcf6eff7f 100644 --- a/core/libs/prx/libkernel/System/src/Rtld.cpp +++ b/core/libs/prx/libkernel/System/src/Rtld.cpp @@ -10,7 +10,9 @@ #include "prx/libc/include/General.hpp" #include "prx/libkernel/Pthread/include/ThreadLifecycle.hpp" #ifdef _WIN32 +#ifndef NOMINMAX #define NOMINMAX +#endif #include #else #include