asio
asio copied to clipboard
Enable use of __declspec(thread) for BOOST_ASIO_WINDOWS_APP.
This commit enables use of "__declspec(thread)" when targeting the Universal Windows Platform.
Linking with Boost.Asio in a Universal Windows App currently fails, since thread local storage Win32 APIs (TlsAlloc, TlsFree, TlsGetValue and TlsSetValue) are not available yet. Even if those APIs are made available again in an upcoming Windows build, using the keyword is preferred.