Fix compilation on clang-cl once and for all
- only pass -W things to c/cxx - fix max/min macros, thanks microsoft Signed-off-by: crueter <crueter@crueter.xyz>
This commit is contained in:
parent
f18c354fb6
commit
58b4ace06e
245 changed files with 624 additions and 604 deletions
|
@ -283,9 +283,9 @@ Loader::AppLoader::Modules FindModules(Kernel::KProcess* process) {
|
|||
// Ignore leading directories.
|
||||
char* path_pointer = module_path.path.data();
|
||||
char* path_end =
|
||||
path_pointer + std::min(PathLengthMax, module_path.path_length);
|
||||
path_pointer + (std::min)(PathLengthMax, module_path.path_length);
|
||||
|
||||
for (s32 i = 0; i < std::min(PathLengthMax, module_path.path_length) &&
|
||||
for (s32 i = 0; i < (std::min)(PathLengthMax, module_path.path_length) &&
|
||||
module_path.path[i] != '\0';
|
||||
i++) {
|
||||
if (module_path.path[i] == '/' || module_path.path[i] == '\\') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue