summaryrefslogtreecommitdiff
path: root/testThreads.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-11-04 20:19:12 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-11-04 20:19:12 +0000
commita4617b8aba43d2ce8e033cb04de599b4273cb94b (patch)
tree063583e8f839227d97edf213f1ca7d577fd02a9f /testThreads.c
parent027edfb741b835ae4b93564e8b980ab980703995 (diff)
downloadlibxml2-a4617b8aba43d2ce8e033cb04de599b4273cb94b.tar.gz
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
Diffstat (limited to 'testThreads.c')
-rw-r--r--testThreads.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testThreads.c b/testThreads.c
index 8424d31d..1c494abe 100644
--- a/testThreads.c
+++ b/testThreads.c
@@ -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