mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-10 01:28:44 +02:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user