From: Eli Zaretskii Date: Tue, 10 Sep 2024 12:14:47 +0000 (+0300) Subject: Fix use of Uniscribe font driver in MinGW build X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=578ff6c7a89651eaf155b42008b80a843738909b;p=emacs.git Fix use of Uniscribe font driver in MinGW build This was inadvertently broken when Windows 9X support was fixed in June 2024. * src/w32uniscribe.c (syms_of_w32uniscribe_for_pdumper): Set 'uniscribe_available' non-zero in non-Cygwin builds. (Bug#73159) (cherry picked from commit 9019536ea66ac0d47ea6f1ef690efd16e32c7ec4) --- diff --git a/src/w32uniscribe.c b/src/w32uniscribe.c index 751963705d2..b77bf56b8cf 100644 --- a/src/w32uniscribe.c +++ b/src/w32uniscribe.c @@ -1573,9 +1573,9 @@ syms_of_w32uniscribe_for_pdumper (void) pfnScriptGetGlyphABCWidth = &ScriptGetGlyphABCWidth; pfnScriptFreeCache = &ScriptFreeCache; pfnScriptGetCMap = &ScriptGetCMap; +#endif /* Cygwin */ uniscribe_available = 1; -#endif /* Cygwin */ register_font_driver (&uniscribe_font_driver, NULL);