diff --git a/src/app/core/platform/font_loader.h b/src/app/core/platform/font_loader.h index a0752dda..96ad3c4d 100644 --- a/src/app/core/platform/font_loader.h +++ b/src/app/core/platform/font_loader.h @@ -2,8 +2,6 @@ #ifndef FONTLOADER_H #define FONTLOADER_H -#include "TargetConditionals.h" - #ifdef _WIN32 #include // Windows specific function declaration for loading system fonts into ImGui @@ -11,16 +9,22 @@ int CALLBACK EnumFontFamExProc(const LOGFONT* lpelfe, const TEXTMETRIC* lpntme, DWORD FontType, LPARAM lParam); #elif __APPLE__ -#ifdef TARGET_OS_MAC +#include "TargetConditionals.h" + +#if TARGET_OS_MAC == 1 void LoadSystemFonts(); -#elif TARGET_OS_IPHONE +#elif TARGET_OS_IPHONE == 1 void LoadSystemFonts(); #endif +#elif __linux__ + +// TODO: Implement Linux specific function declaration for loading system fonts + #endif #endif // FONTLOADER_H