X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fqt4%2FGuiFontLoader.h;h=d526ff3ef1c8900c3de49a2fc0bee72ac84a7718;hb=c77b5dbee16b143d0d73c79dcbd82a05590f7021;hp=566b7d44631f28aaaec2dc4e35dc2b7fcb64c65d;hpb=78135f77517f5a1465fdba270336e1fa1b616a58;p=lyx.git diff --git a/src/frontends/qt4/GuiFontLoader.h b/src/frontends/qt4/GuiFontLoader.h index 566b7d4463..d526ff3ef1 100644 --- a/src/frontends/qt4/GuiFontLoader.h +++ b/src/frontends/qt4/GuiFontLoader.h @@ -22,7 +22,7 @@ // Starting with version 3.1.0, Qt/X11 does its own caching of // character width, so it is not necessary to provide ours. -#if defined(Q_WS_MACX) +#if defined(Q_WS_MACX) || defined(Q_WS_WIN32) #define USE_LYX_FONTCACHE #include #endif