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.
This commit is contained in:
Fishybeing
2026-10-07 15:00:08 +02:00
parent d5adabaecc
commit cb3f3e74ff
@@ -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 <windows.h>
#else
#include <dlfcn.h>