mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 01:39:36 +00:00
Fix macOS build (#146)
* Fix macOS build * Fix *BSD build * Add missing *BSD include
This commit is contained in:
@@ -584,7 +584,7 @@ FallbackFont_t g_FallbackFonts[] =
|
||||
{ NULL, "Monaco" } // every other font falls back to this
|
||||
};
|
||||
|
||||
#elif defined(LINUX) || defined(BSD)
|
||||
#elif defined(LINUX) || defined(PLATFORM_BSD)
|
||||
static const char *g_szValidAsianFonts[] = { "Marlett", "WenQuanYi Zen Hei", "unifont", NULL };
|
||||
|
||||
// list of how fonts fallback
|
||||
@@ -649,7 +649,7 @@ const char *CFontManager::GetForeignFallbackFontName()
|
||||
return "Tahoma";
|
||||
#elif defined(OSX)
|
||||
return "Helvetica";
|
||||
#elif defined(LINUX) || defined(BSD)
|
||||
#elif defined(LINUX) || defined(PLATFORM_BSD)
|
||||
return "WenQuanYi Zen Hei";
|
||||
#elif defined(_PS3)
|
||||
return "Tahoma";
|
||||
|
||||
Reference in New Issue
Block a user