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

- include/libxml/globals.h include/libxml/threads.h threads.c

testThreads.c: far more testing, cleaning up bugs
- *.c : make sure globals.h is always included.
Daniel
This commit is contained in:
Daniel Veillard
2001-10-17 15:58:35 +00:00
parent 7cc95c0b6a
commit 3c01b1d81b
33 changed files with 145 additions and 40 deletions

View File

@ -10186,7 +10186,8 @@ static int xmlParserInitialized = 0;
void
xmlInitParser(void) {
if (xmlParserInitialized) return;
if (xmlParserInitialized != 0)
return;
initGenericErrorDefaultFunc(NULL);
xmlInitThreads();