fix: guard CXuiStringTable StringTable global from Linux unity builds to prevent class shadowing

This commit is contained in:
JuiceyDev 2026-03-06 08:43:47 +01:00
parent 35b0781f47
commit d5db5cc071

View file

@ -46,7 +46,10 @@ C_4JProfile ProfileManager;
#endif
#endif // __PS3__
CSentientManager SentientManager;
#ifndef __linux__
// On Linux this global shadows the project's StringTable class name in unity builds
CXuiStringTable StringTable;
#endif
#if !defined(_XBOX_ONE) && !defined(__linux__)
ATG::XMLParser::XMLParser() {}