1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 12:25:09 +03:00

runtest: Fix compilation without LIBXML_HTML_ENABLED

Fixes #545.
This commit is contained in:
Nick Wellnhofer 2023-05-24 20:08:33 +02:00
parent 981093abd1
commit c3c6cc6202

View File

@ -63,11 +63,6 @@
#ifdef LIBXML_HTML_ENABLED
#include <libxml/HTMLparser.h>
#include <libxml/HTMLtree.h>
/*
* pseudo flag for the unification of HTML and XML tests
*/
#define XML_PARSE_HTML 1 << 24
#endif
#if defined(LIBXML_THREAD_ENABLED) && defined(LIBXML_CATALOG_ENABLED)
@ -78,6 +73,11 @@
#include <string.h>
#endif
/*
* pseudo flag for the unification of HTML and XML tests
*/
#define XML_PARSE_HTML 1 << 24
/*
* O_BINARY is just for Windows compatibility - if it isn't defined
* on this system, avoid any compilation error