[xmlsec] Building for UWP in 1.2.31

Sven Paschukat Sven.Paschukat at starfinanz.de
Tue Nov 10 02:55:12 PST 2020


Hi Aleksey,

In Commit https://github.com/lsh123/xmlsec/commit/2d3998090f8882c3aea41ed77050961813ba3beb you changed the (not) UWP condition to
#if !defined(WINAPI_FAMILY) || (WINAPI_FAMILY != WINAPI_FAMILY_DESKTOP_APP)

Are you sure that's correct? To my understanding the WINAPI_FAMILY is set to WINAPI_FAMILY_PHONE_APP on UWP, so building for UWP would direct the compiler to LoadLibraryA, which is not accessible then. The previous code
#if !defined(WINAPI_FAMILY) || WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP
looks better for me.

Regards,
Sven


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.aleksey.com/pipermail/xmlsec/attachments/20201110/7f06be24/attachment.htm>


More information about the xmlsec mailing list