Ken Thomases : msxml3: Fix building on Leopard.

Alexandre Julliard julliard at winehq.org
Mon Nov 29 13:38:34 CST 2010


Module: wine
Branch: master
Commit: a6b38409be3053e0489e24463d7306b8d0eb5fd3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a6b38409be3053e0489e24463d7306b8d0eb5fd3

Author: Ken Thomases <ken at codeweavers.com>
Date:   Fri Nov 26 17:35:20 2010 -0600

msxml3: Fix building on Leopard.

---

 dlls/msxml3/msxml_private.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dlls/msxml3/msxml_private.h b/dlls/msxml3/msxml_private.h
index 0e7971e..ddb3f1c 100644
--- a/dlls/msxml3/msxml_private.h
+++ b/dlls/msxml3/msxml_private.h
@@ -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 */




More information about the wine-cvs mailing list