Better Windows detection.
GitOrigin-RevId: c07960f628f6fb93079d9b4efdf072f580599632
This commit is contained in:
parent
45d5c6c626
commit
297644fcb4
@ -9,7 +9,7 @@
|
|||||||
// clang-format off
|
// clang-format off
|
||||||
|
|
||||||
/*** Platform macros ***/
|
/*** Platform macros ***/
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32) || defined(_WINDOWS) // _WINDOWS is defined by CMake
|
||||||
#if defined(__cplusplus_winrt)
|
#if defined(__cplusplus_winrt)
|
||||||
#define TD_WINRT 1
|
#define TD_WINRT 1
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user