msxml3: Fix building on Leopard.

Ken Thomases ken at
Fri Nov 26 17:35:20 CST 2010

Essentially, the Leopard libxml2 declares the function xmlFirstElementChild
in its headers but doesn't provide it in the library.  This leads configure
to not define HAVE_XMLFIRSTELEMENTCHILD.  Since that's not defined,
msxml_private.h defines its own inline version.  However, that definition
conflicts with the declaration in the libxml2 headers, causing a compile

The fix is to name msxml's inline function something else, and use a macro
to redirect references to the original to our replacement.
dlls/msxml3/msxml_private.h |    3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-msxml3-Fix-building-on-Leopard.patch
Type: text/x-patch
Size: 703 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list