Core/Misc: Changed compiler detection to better support compilers that pretend to be something else, such as clang-cl is both msvc and clang at the same time

This commit is contained in:
Shauren
2026-05-10 14:40:49 +02:00
parent 648343e7a4
commit e49105cb68
28 changed files with 75 additions and 45 deletions
+1 -1
View File
@@ -49,7 +49,7 @@
#include "World.h"
#include "WorldSession.h"
#if TRINITY_COMPILER == TRINITY_COMPILER_GNU
#if TRINITY_COMPILER_IS_GCC
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif