summaryrefslogtreecommitdiff
path: root/xmlmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'xmlmodule.c')
-rw-r--r--xmlmodule.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmlmodule.c b/xmlmodule.c
index a59a1ec9..fc84d96e 100644
--- a/xmlmodule.c
+++ b/xmlmodule.c
@@ -334,7 +334,14 @@ xmlModulePlatformClose(void *handle)
static int
xmlModulePlatformSymbol(void *handle, const char *name, void **symbol)
{
+#ifdef _WIN32_WCE
+ /*
+ * GetProcAddressA seems only available on WinCE
+ */
*symbol = GetProcAddressA(handle, name);
+#else
+ *symbol = GetProcAddress(handle, name);
+#endif
return (NULL == *symbol) ? -1 : 0;
}