diff --git a/gfx/thebes/src/gfxFont.cpp b/gfx/thebes/src/gfxFont.cpp index 3d60fbf1925..152730dcf6a 100644 --- a/gfx/thebes/src/gfxFont.cpp +++ b/gfx/thebes/src/gfxFont.cpp @@ -1428,7 +1428,7 @@ gfxFontGroup::BuildFontList() { // "#if" to be removed once all platforms are moved to gfxPlatformFontList interface // and subclasses of gfxFontGroup eliminated -#if defined(XP_MACOSX) || defined(XP_WIN) +#if defined(XP_MACOSX) || (defined(XP_WIN) && !defined(WINCE)) ForEachFont(FindPlatformFont, this); if (mFonts.Length() == 0) {