windows: Set _WIN32_WINNT to 0x0601 (Windows 7)

Also remove all defines in many places and define it in configure stage to keep consistency.
This commit is contained in:
Chun Kuan Lee
2018-12-13 18:24:30 +08:00
parent 82cf6813a4
commit 1bd9ffdd44
6 changed files with 2 additions and 18 deletions

View File

@@ -44,11 +44,6 @@
#pragma warning(disable:4717)
#endif
#ifdef _WIN32_WINNT
#undef _WIN32_WINNT
#endif
#define _WIN32_WINNT 0x0501
#ifdef _WIN32_IE
#undef _WIN32_IE
#endif