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); ...@@ -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); ...@@ -178,6 +178,7 @@ extern void schemasCleanup(void);
return child; return child;
} }
#define xmlFirstElementChild wine_xmlFirstElementChild
#endif #endif
/* constructors */ /* 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