Merge pull request #1401 from eidosmontreal/support_xboxone
Added support for WINAPI_PARTITION_TV_TITLE to support XboxOne applications
This commit is contained in:
commit
62ba5d91d0
|
@ -54,6 +54,9 @@
|
||||||
# define GTEST_OS_WINDOWS_PHONE 1
|
# define GTEST_OS_WINDOWS_PHONE 1
|
||||||
# elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
|
# elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
|
||||||
# define GTEST_OS_WINDOWS_RT 1
|
# define GTEST_OS_WINDOWS_RT 1
|
||||||
|
# elif WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_TV_TITLE)
|
||||||
|
# define GTEST_OS_WINDOWS_PHONE 1
|
||||||
|
# define GTEST_OS_WINDOWS_TV_TITLE 1
|
||||||
# else
|
# else
|
||||||
// WINAPI_FAMILY defined but no known partition matched.
|
// WINAPI_FAMILY defined but no known partition matched.
|
||||||
// Default to desktop.
|
// Default to desktop.
|
||||||
|
|
|
@ -1655,7 +1655,7 @@ namespace {
|
||||||
AssertionResult HRESULTFailureHelper(const char* expr,
|
AssertionResult HRESULTFailureHelper(const char* expr,
|
||||||
const char* expected,
|
const char* expected,
|
||||||
long hr) { // NOLINT
|
long hr) { // NOLINT
|
||||||
# if GTEST_OS_WINDOWS_MOBILE
|
# if GTEST_OS_WINDOWS_MOBILE || GTEST_OS_WINDOWS_TV_TITLE
|
||||||
|
|
||||||
// Windows CE doesn't support FormatMessage.
|
// Windows CE doesn't support FormatMessage.
|
||||||
const char error_text[] = "";
|
const char error_text[] = "";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user