compile error in current cvs
Jacek Caban
jack at itma.pwr.wroc.pl
Sat Aug 6 03:36:51 CDT 2005
Jacek Caban wrote:
> Hello.
>
> Stefan Leichter wrote:
>
>> Am Freitag, 5. August 2005 09:05 schrieben Sie:
>>
>>
>>
>> Hello Mike,
>>
>> after removing the link /usr/include/libxml
>>
>> my config.log has
>> ac_cv_lib_xml2_xmlReadIO=no
>>
>> the patch fixes the problem with the missing header but compiling
>> fails still with:
>>
>>
>>
> Attached patch is the correct solution.
>
> Changelog:
> Fixed msxml compilation when libxml is not available.
>
Ops, I forgot to attach the patch...
-------------- next part --------------
Index: dlls/msxml3/element.c
===================================================================
RCS file: /home/wine/wine/dlls/msxml3/element.c,v
retrieving revision 1.1
diff -u -p -r1.1 element.c
--- dlls/msxml3/element.c 3 Aug 2005 10:58:47 -0000 1.1
+++ dlls/msxml3/element.c 5 Aug 2005 07:32:04 -0000
@@ -38,6 +38,8 @@
WINE_DEFAULT_DEBUG_CHANNEL(msxml);
+#ifdef HAVE_LIBXML2
+
typedef struct _domelem
{
const struct IXMLDOMElementVtbl *lpVtbl;
@@ -566,3 +568,5 @@ HRESULT DOMElement_create( IXMLDOMElemen
return S_OK;
}
+
+#endif
Index: dlls/msxml3/msxml_private.h
===================================================================
RCS file: /home/wine/wine/dlls/msxml3/msxml_private.h,v
retrieving revision 1.2
diff -u -p -r1.2 msxml_private.h
--- dlls/msxml3/msxml_private.h 3 Aug 2005 10:58:47 -0000 1.2
+++ dlls/msxml3/msxml_private.h 5 Aug 2005 07:32:04 -0000
@@ -21,7 +21,7 @@
#ifndef __MSXML_PRIVATE__
#define __MSXML_PRIVATE__
-#ifdef HAVE_LIBXML_PARSER_H
+#ifdef HAVE_LIBXML2
#include <libxml/parser.h>
More information about the wine-devel
mailing list