Fix detection of Windows Runtime.

This commit is contained in:
Christopher Kohlhoff 2014-06-28 21:27:50 +10:00
parent 4838a895ff
commit f1818afc93

View File

@ -458,7 +458,7 @@
#if !defined(ASIO_WINDOWS_RUNTIME)
# if defined(__cplusplus_winrt)
# include <winapifamily.h>
# if WINAPI_FAMILY_ONE_PARTITION(WINAPI_FAMILY, WINAPI_PARTITION_APP)
# if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
# define ASIO_WINDOWS_RUNTIME 1
# endif // WINAPI_FAMILY_ONE_PARTITION(WINAPI_FAMILY, WINAPI_PARTITION_APP)
# endif // defined(__cplusplus_winrt)