#include "MagickCore/utility.h"
#include "MagickCore/utility-private.h"
#include "MagickCore/xwindow-private.h"
+#if defined(MAGICKCORE_XML_DELEGATE)
+# if defined(MAGICKCORE_WINDOWS_SUPPORT)
+# if !defined(__MINGW32__)
+# include <win32config.h>
+# endif
+# endif
+# include <libxml/parser.h>
+#endif
\f
/*
Define declarations.
RegistryComponentTerminus();
#if defined(MAGICKCORE_X11_DELEGATE)
XComponentTerminus();
+#endif
+#if defined(MAGICKCORE_XML_DELEGATE)
+ xmlCleanupParser();
#endif
AnnotateComponentTerminus();
MimeComponentTerminus();
# include <win32config.h>
# endif
# endif
-# include <libxml/parser.h>
# include <libxml/xmlmemory.h>
# include <libxml/parserInternals.h>
# include <libxml/xmlerror.h>
ModuleExport void UnregisterMSLImage(void)
{
(void) UnregisterMagickInfo("MSL");
-#if defined(MAGICKCORE_XML_DELEGATE)
- xmlCleanupParser();
-#endif
}
\f
#if defined(MAGICKCORE_XML_DELEGATE)
# include <win32config.h>
# endif
# endif
-# include <libxml/parser.h>
# include <libxml/xmlmemory.h>
# include <libxml/parserInternals.h>
# include <libxml/xmlerror.h>
(void) UnregisterMagickInfo("SVGZ");
(void) UnregisterMagickInfo("SVG");
(void) UnregisterMagickInfo("MSVG");
-#if defined(MAGICKCORE_XML_DELEGATE)
- xmlCleanupParser();
-#endif
}
\f
/*