Commit a6b38409 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

msxml3: Fix building on Leopard.

parent e7a6b87c
......@@ -169,8 +169,8 @@ extern void schemasInit(void);
extern void schemasCleanup(void);
#ifndef HAVE_XMLFIRSTELEMENTCHILD
static inline xmlNodePtr xmlFirstElementChild(xmlNodePtr parent)
{
static inline xmlNodePtr wine_xmlFirstElementChild(xmlNodePtr parent)
{
xmlNodePtr child;
for (child = parent->children; child != NULL; child = child->next)
if (child->type == XML_ELEMENT_NODE)
......@@ -178,6 +178,7 @@ extern void schemasCleanup(void);
return child;
}
#define xmlFirstElementChild wine_xmlFirstElementChild
#endif
/* constructors */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment