2019-07-10 03:46:45 +08:00
|
|
|
diff --git a/src/dl.c b/src/dl.c
|
2020-11-19 05:07:04 +08:00
|
|
|
index e934fe4e..a511df43 100644
|
2019-07-10 03:46:45 +08:00
|
|
|
--- a/src/dl.c
|
|
|
|
+++ b/src/dl.c
|
2020-11-19 05:07:04 +08:00
|
|
|
@@ -148,7 +148,7 @@ xmlSecCryptoDLLibraryCreate(const xmlChar* name) {
|
2019-07-10 03:46:45 +08:00
|
|
|
#endif /* XMLSEC_DL_LIBLTDL */
|
|
|
|
|
|
|
|
#ifdef XMLSEC_DL_WIN32
|
2020-11-19 05:07:04 +08:00
|
|
|
-#if !defined(WINAPI_FAMILY) || (WINAPI_FAMILY != WINAPI_FAMILY_DESKTOP_APP)
|
|
|
|
+#if !defined(WINAPI_FAMILY) || (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP)
|
|
|
|
lib->handle = LoadLibraryA((char*)lib->filename);
|
|
|
|
#else
|
|
|
|
LPWSTR wcLibFilename = xmlSecWin32ConvertUtf8ToUnicode(lib->filename);
|
|
|
|
--
|
|
|
|
2.25.1.windows.1
|
|
|
|
|