Set WINDOWS variable when running on a Windows target
Currently we have the WIN32
variable for Windows, and the 32 suffix is a bit misleading for the users running on Windows x86_64 or Windows Arm64.
I have seen the documentation of WIN32:
Set to True when the target system is Windows, including Win64.
Currently there are other Windows variables set:
- WINCE
- WINDOWS_PHONE
- WINDOWS_STORE
I think the WINDOWS
variable fits better than WIN32
.