1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-15 11:03:00 +01:00

Hide unused symbols when building with TTF support disabled (#16459)

This commit is contained in:
Michał Janiszewski
2022-01-17 23:08:35 +01:00
committed by GitHub
parent f4c30ba63a
commit 225ecccd7d

View File

@@ -315,6 +315,7 @@ namespace Platform
return {};
}
# ifndef NO_TTF
std::string GetFontPath(const TTFFontDescriptor& font)
{
log_verbose("Looking for font %s with FontConfig.", font.font_name);
@@ -371,6 +372,7 @@ namespace Platform
FcFini();
return path;
}
# endif // NO_TTF
} // namespace Platform
#endif