mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 08:28:59 +08:00
232aa4b2cf
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
17 lines
538 B
Diff
17 lines
538 B
Diff
diff --git a/src/dl.c b/src/dl.c
|
|
index e934fe4e..a511df43 100644
|
|
--- a/src/dl.c
|
|
+++ b/src/dl.c
|
|
@@ -148,7 +148,7 @@ xmlSecCryptoDLLibraryCreate(const xmlChar* name) {
|
|
#endif /* XMLSEC_DL_LIBLTDL */
|
|
|
|
#ifdef XMLSEC_DL_WIN32
|
|
-#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
|
|
|