mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 13:33:42 +00:00
msxml3: Do not depend on libxml2 for XMLVIEW object.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6d09e45015
commit
f48d1f79db
|
@ -16,17 +16,11 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#define COBJMACROS
|
||||
#define NONAMELESSUNION
|
||||
|
||||
#ifdef HAVE_LIBXML2
|
||||
#include <libxml/parser.h>
|
||||
#endif
|
||||
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "ole2.h"
|
||||
|
@ -37,10 +31,9 @@
|
|||
#include "docobj.h"
|
||||
|
||||
#include "wine/debug.h"
|
||||
#include "wine/unicode.h"
|
||||
|
||||
#include "msxml_private.h"
|
||||
|
||||
#ifdef HAVE_LIBXML2
|
||||
#include "msxml_dispex.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(msxml);
|
||||
|
||||
|
@ -1451,14 +1444,3 @@ HRESULT XMLView_create(void **ppObj)
|
|||
*ppObj = &This->IPersistMoniker_iface;
|
||||
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 */
|
||||
|
|
Loading…
Reference in a new issue