If I use CMake to generate UWP build, it defines WINAPI_FAMILY but don't defines WINAPI_FAMILY_PARTITION macros. And following conditions fails in wrong place # elif defined(WINAPI_FAMILY) && defined(WINAPI_FAMILY_PARTITION(fails here)) # if (WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)) (should fail here) # define THREAD_TIMER_AVAILABLE # endif
I suggest to add following to the config.h: #ifndef NO_OS_DEPENDENCE +#if defined(WINAPI_FAMILY) +#include <winapifamily.h> +#endif понеділок, 2 травня 2016 р. 11:05:36 UTC+3 користувач Jeffrey Walton написав: > > There's a new branch called "windows-store" ( > http://github.com/weidai11/cryptopp/tree/windows-store). Its the Crypto++ > port to Windows Phone and Windows Store, and its ready to be tested. > > I've tested under Visual Studio 2002, 2003, 2005, 2008, 2010, 2012 and > 2013 from the IDE, which verified the compile and self tests for x86 and > x64. I also tested from the command line with ARM, which verified the > compile for Windows Phone and Windows Store. > > If you have some time then please give it a go and report back with > results or problems. > > If there are no complaints, then we can merge it next week some time. > > Jeff > -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to [email protected]. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
