Commit f48d1f79 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msxml3: Do not depend on libxml2 for XMLVIEW object.

parent 6d09e450
...@@ -16,17 +16,11 @@ ...@@ -16,17 +16,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "config.h"
#include <stdarg.h> #include <stdarg.h>
#define COBJMACROS #define COBJMACROS
#define NONAMELESSUNION #define NONAMELESSUNION
#ifdef HAVE_LIBXML2
#include <libxml/parser.h>
#endif
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "ole2.h" #include "ole2.h"
...@@ -37,10 +31,9 @@ ...@@ -37,10 +31,9 @@
#include "docobj.h" #include "docobj.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "wine/unicode.h"
#include "msxml_private.h" #include "msxml_dispex.h"
#ifdef HAVE_LIBXML2
WINE_DEFAULT_DEBUG_CHANNEL(msxml); WINE_DEFAULT_DEBUG_CHANNEL(msxml);
...@@ -1451,14 +1444,3 @@ HRESULT XMLView_create(void **ppObj) ...@@ -1451,14 +1444,3 @@ HRESULT XMLView_create(void **ppObj)
*ppObj = &This->IPersistMoniker_iface; *ppObj = &This->IPersistMoniker_iface;
return S_OK; return S_OK;
} }
#else
HRESULT XMLView_create(void **ppObj)
{
MESSAGE("This program tried to use a XMLView object, but\n"
"libxml2 support was not present at compile time.\n");
return E_NOTIMPL;
}
#endif /* HAVE_LIBXML2 */
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