Huw Davies : gdi32: Fix building with versions of fontconfig < 2.11.0.
Alexandre Julliard
julliard at winehq.org
Wed Dec 19 16:04:43 CST 2018
Module: wine
Branch: master
Commit: 54e3bf12cdca3826fdc7fa84c35835de7e0d3106
URL: https://source.winehq.org/git/wine.git/?a=commit;h=54e3bf12cdca3826fdc7fa84c35835de7e0d3106
Author: Huw Davies <huw at codeweavers.com>
Date: Wed Dec 19 11:01:35 2018 +0000
gdi32: Fix building with versions of fontconfig < 2.11.0.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46296
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/gdi32/freetype.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index e07aada..ebecf79 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -184,7 +184,13 @@ MAKE_FUNCPTR(FcPatternDestroy);
MAKE_FUNCPTR(FcPatternGetBool);
MAKE_FUNCPTR(FcPatternGetInteger);
MAKE_FUNCPTR(FcPatternGetString);
+#ifndef FC_NAMELANG
+#define FC_NAMELANG "namelang"
#endif
+#ifndef FC_PRGNAME
+#define FC_PRGNAME "prgname"
+#endif
+#endif /* SONAME_LIBFONTCONFIG */
#undef MAKE_FUNCPTR
More information about the wine-cvs
mailing list