Better Windows detection.

GitOrigin-RevId: c07960f628f6fb93079d9b4efdf072f580599632
This commit is contained in:
levlam 2019-01-23 17:53:01 +03:00
parent 45d5c6c626
commit 297644fcb4

View File

@ -9,7 +9,7 @@
// clang-format off
/*** Platform macros ***/
#if defined(_WIN32)
#if defined(_WIN32) || defined(_WINDOWS) // _WINDOWS is defined by CMake
#if defined(__cplusplus_winrt)
#define TD_WINRT 1
#endif