[PATCH] gdi32: Fix compile error with Fontconfig <= 2.10.91.
Nikolay Sivov
nsivov at codeweavers.com
Tue Dec 18 02:29:20 CST 2018
> +#ifdef FC_NAMELANG
> r = pFcPatternAddString(pat, FC_NAMELANG, (const FcChar8 *)"en-us");
> if (!r) goto end;
> +#endif
> +#ifdef FC_PRGNAME
> r = pFcPatternAddString(pat, FC_PRGNAME, (const FcChar8 *)"wine");
> if (!r) goto end;
> +#endif
If these parameters are not essential, you can use numeric values
instead, remove error checking and ifdef-ing, so it works the same way
regardless of where it was built.
More information about the wine-devel
mailing list