1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

fix bug #63752 of compiling libxml with a non standard set of options

* encoding.c global.data globals.c testThreads.c: fix bug #63752
  of compiling libxml with a non standard set of options
Daniel
This commit is contained in:
Daniel Veillard
2001-11-04 20:19:12 +00:00
parent 027edfb741
commit a4617b8aba
5 changed files with 23 additions and 12 deletions

View File

@ -2,7 +2,7 @@
#include <stdio.h>
#include <libxml/xmlversion.h>
#ifdef LIBXML_THREAD_ENABLED
#if defined(LIBXML_THREAD_ENABLED) && defined(LIBXML_CATALOG_ENABLED)
#include <libxml/globals.h>
#include <libxml/threads.h>
#include <libxml/parser.h>
@ -128,7 +128,7 @@ main()
int
main()
{
fprintf(stderr, "libxml was not compiled with thread support\n");
fprintf(stderr, "libxml was not compiled with thread or catalog support\n");
return (0);
}
#endif