Bug 48573 - platform without regex do not have also REG_XXX defines
Summary: platform without regex do not have also REG_XXX defines
Alias: None
Product: fontconfig
Classification: Unclassified
Component: library (show other bugs)
Version: 2_1
Hardware: Other Windows (All)
: medium normal
Assignee: Akira TAGOH
QA Contact: Behdad Esfahbod
Depends on:
Reported: 2012-04-11 16:09 UTC by Gianluigi Tiesi
Modified: 2012-04-11 19:02 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:

proposed fix (961 bytes, application/octet-stream)
2012-04-11 16:09 UTC, Gianluigi Tiesi

Description Gianluigi Tiesi 2012-04-11 16:09:53 UTC
Created attachment 59821 [details]
proposed fix

while building on mingw, I've noticed the fcstr.c does not compile because even if _FcStrRegexCmp has ifdef the calls are using REG_XXX defines,
I've made a patch that defines _FcStrRegexCmp as a macro when regex is not found so it will eat the arguments
Comment 1 Akira TAGOH 2012-04-11 19:02:41 UTC
Doh. my bad. thanks for catching this up. modified a bit and fixed in ac6271db.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.