forked from boostorg/system
Fix WinRT detection.
[SVN r86152]
This commit is contained in:
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
# if defined( BOOST_WINDOWS_API )
|
# if defined( BOOST_WINDOWS_API )
|
||||||
# include <windows.h>
|
# include <windows.h>
|
||||||
# if !defined(WINAPI_FAMILY) || ((WINAPI_FAMILY & WINAPI_PARTITION_APP) == 0)
|
# if !defined(WINAPI_FAMILY) || ((WINAPI_FAMILY & WINAPI_PARTITION_DESKTOP) != 0)
|
||||||
# include "local_free_on_destruction.hpp"
|
# include "local_free_on_destruction.hpp"
|
||||||
# endif
|
# endif
|
||||||
# ifndef ERROR_INCORRECT_SIZE
|
# ifndef ERROR_INCORRECT_SIZE
|
||||||
@ -372,7 +372,7 @@ namespace
|
|||||||
|
|
||||||
std::string system_error_category::message( int ev ) const
|
std::string system_error_category::message( int ev ) const
|
||||||
{
|
{
|
||||||
# if defined(WINAPI_FAMILY) && ((WINAPI_FAMILY & WINAPI_PARTITION_APP) != 0)
|
# if defined(WINAPI_FAMILY) && ((WINAPI_FAMILY & WINAPI_PARTITION_DESKTOP) == 0)
|
||||||
std::string str( 128, char() );
|
std::string str( 128, char() );
|
||||||
for (;;)
|
for (;;)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user