Remove unnecessary WIN* defines.

We keep WINVER and _WIN32_WINNT because different versions of mingw-w64 have different defaults.

Fixes #198.
This commit is contained in:
Morilli 2021-07-28 04:19:31 +02:00 committed by Tim Allen
parent e8105c46a7
commit 41f30f348a
1 changed files with 1 additions and 5 deletions

View File

@ -6,10 +6,8 @@
#undef UNICODE
#undef WINVER
#undef WIN32_LEAN_AND_LEAN
#undef WIN32_LEAN_AND_MEAN
#undef _WIN32_WINNT
#undef _WIN32_IE
#undef __MSVCRT_VERSION__
#undef NOMINMAX
#undef PATH_MAX
@ -17,8 +15,6 @@
#define WINVER 0x0601
#define WIN32_LEAN_AND_MEAN
#define _WIN32_WINNT WINVER
#define _WIN32_IE WINVER
#define __MSVCRT_VERSION__ WINVER
#define NOMINMAX
#define PATH_MAX 260