summaryrefslogtreecommitdiff
path: root/xmlmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'xmlmodule.c')
-rw-r--r--xmlmodule.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmlmodule.c b/xmlmodule.c
index e3a8bd64..a95ab66a 100644
--- a/xmlmodule.c
+++ b/xmlmodule.c
@@ -340,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
@@ -349,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 */