update new sdk
This commit is contained in:
parent
f33907443a
commit
744c72c133
1643 changed files with 83006 additions and 28021 deletions
6
android/external/libxml2/testThreads.c
vendored
6
android/external/libxml2/testThreads.c
vendored
|
@ -3,7 +3,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#if defined(LIBXML_THREAD_ENABLED) && defined(LIBXML_CATALOG_ENABLED) && defined(LIBXML_SAX1_ENABLED)
|
||||
#if defined(LIBXML_THREAD_ENABLED) && defined(LIBXML_CATALOG_ENABLED)
|
||||
#include <libxml/globals.h>
|
||||
#include <libxml/threads.h>
|
||||
#include <libxml/parser.h>
|
||||
|
@ -61,7 +61,11 @@ thread_specific_data(void *private_data)
|
|||
xmlDoValidityCheckingDefaultValue = 1;
|
||||
xmlGenericErrorContext = stderr;
|
||||
}
|
||||
#ifdef LIBXML_SAX1_ENABLED
|
||||
myDoc = xmlParseFile(filename);
|
||||
#else
|
||||
myDoc = xmlReadFile(filename, NULL, XML_WITH_CATALOG);
|
||||
#endif
|
||||
if (myDoc) {
|
||||
xmlFreeDoc(myDoc);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue