30 Sep
2014
30 Sep
'14
9:27 a.m.
Niall Douglas
On 30 Sep 2014 at 11:23, Andrey Semashev wrote:
Boost.Thread currently fails to build on MSVC, which affects other libraries:
Looks like it came from the WinRT patch and only occurs if BOOST_USE_WINDOWS_H is turned on.
CREATE_EVENT_MANUAL_RESET and CREATE_EVENT_INITIAL_SET are only defined for (_WIN32_WINNT >= 0x0600) in the Windows SDK. As they are only used in a (BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_VISTA) block and boost::detail::win32::CreateEventExW is only defined in such a block, the defines should probably be guarded by that too.