msxml3: Fix building on Leopard.

oldstable
Ken Thomases 2010-11-26 17:35:20 -06:00 committed by Alexandre Julliard
parent e7a6b87c2d
commit a6b38409be
1 changed files with 3 additions and 2 deletions

View File

@ -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 */