update new sdk
This commit is contained in:
parent
f33907443a
commit
744c72c133
1643 changed files with 83006 additions and 28021 deletions
10
android/external/libxml2/xmlmodule.c
vendored
10
android/external/libxml2/xmlmodule.c
vendored
|
@ -8,6 +8,11 @@
|
|||
* http://www.fortran-2000.com/ArnaudRecipes/sharedlib.html
|
||||
*/
|
||||
|
||||
/* In order RTLD_GLOBAL and RTLD_NOW to be defined on zOS */
|
||||
#if defined(__MVS__)
|
||||
#define _UNIX03_SOURCE
|
||||
#endif
|
||||
|
||||
#define IN_LIBXML
|
||||
#include "libxml.h"
|
||||
|
||||
|
@ -296,8 +301,9 @@ xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
|
|||
#endif /* HAVE_SHLLOAD */
|
||||
#endif /* ! HAVE_DLOPEN */
|
||||
|
||||
#ifdef _WIN32
|
||||
#if defined(_WIN32) && !defined(__CYGWIN__)
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
|
||||
/*
|
||||
|
@ -334,6 +340,7 @@ xmlModulePlatformClose(void *handle)
|
|||
static int
|
||||
xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
|
||||
{
|
||||
XML_IGNORE_PEDANTIC_WARNINGS
|
||||
#ifdef _WIN32_WCE
|
||||
/*
|
||||
* GetProcAddressA seems only available on WinCE
|
||||
|
@ -343,6 +350,7 @@ xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
|
|||
*symbol = GetProcAddress(handle, name);
|
||||
#endif
|
||||
return (NULL == *symbol) ? -1 : 0;
|
||||
XML_POP_WARNINGS
|
||||
}
|
||||
|
||||
#endif /* _WIN32 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue