Re-add WINVER and _WIN32_WINNT defines as apparently older mingw-w64 versions didn't define them high enough

This commit is contained in:
Morilli 2021-07-28 06:11:32 +02:00
parent aeb423ce3b
commit bf2ab3f751
1 changed files with 4 additions and 0 deletions

View File

@ -5,12 +5,16 @@
#define interface WindowsInterface
#undef UNICODE
#undef WINVER
#undef WIN32_LEAN_AND_MEAN
#undef _WIN32_WINNT
#undef NOMINMAX
#undef PATH_MAX
#define UNICODE
#define WINVER 0x0601
#define WIN32_LEAN_AND_MEAN
#define _WIN32_WINNT WINVER
#define NOMINMAX
#define PATH_MAX 260