From 8a5b6d349d89c61812c19b3b4c22a56284b9c226 Mon Sep 17 00:00:00 2001 From: Markus Gans Date: Tue, 12 Jun 2018 16:52:26 +0200 Subject: [PATCH] Linux functions from FTerm moved into the FTermLinux class --- include/final/ftermlinux.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/final/ftermlinux.h b/include/final/ftermlinux.h index 0bde0971..4c7ab4af 100644 --- a/include/final/ftermlinux.h +++ b/include/final/ftermlinux.h @@ -187,6 +187,7 @@ class FTermLinux // FTermLinux inline functions //---------------------------------------------------------------------- +#if defined(__linux__) inline int FTermLinux::getFramebufferBpp() { return framebuffer_bpp; } @@ -209,5 +210,6 @@ inline bool FTermLinux::isVGAFontUsed() //---------------------------------------------------------------------- inline bool FTermLinux::isNewFontUsed() { return NewFont; } +#endif #endif // FTERMLINUX_H