msxml3: Fix building on Leopard.
This commit is contained in:
parent
e7a6b87c2d
commit
a6b38409be
|
@ -169,8 +169,8 @@ extern void schemasInit(void);
|
||||||
extern void schemasCleanup(void);
|
extern void schemasCleanup(void);
|
||||||
|
|
||||||
#ifndef HAVE_XMLFIRSTELEMENTCHILD
|
#ifndef HAVE_XMLFIRSTELEMENTCHILD
|
||||||
static inline xmlNodePtr xmlFirstElementChild(xmlNodePtr parent)
|
static inline xmlNodePtr wine_xmlFirstElementChild(xmlNodePtr parent)
|
||||||
{
|
{
|
||||||
xmlNodePtr child;
|
xmlNodePtr child;
|
||||||
for (child = parent->children; child != NULL; child = child->next)
|
for (child = parent->children; child != NULL; child = child->next)
|
||||||
if (child->type == XML_ELEMENT_NODE)
|
if (child->type == XML_ELEMENT_NODE)
|
||||||
|
@ -178,6 +178,7 @@ extern void schemasCleanup(void);
|
||||||
|
|
||||||
return child;
|
return child;
|
||||||
}
|
}
|
||||||
|
#define xmlFirstElementChild wine_xmlFirstElementChild
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* constructors */
|
/* constructors */
|
||||||
|
|
Loading…
Reference in New Issue