+#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.