Merge pull request #112 from iakov/patch-1

Fix build issue with MinGW GCC pedantic mode
This commit is contained in:
Itay Grudev 2020-10-06 16:20:38 +01:00 committed by GitHub
commit 0e42d86cec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,9 @@
#endif #endif
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
#define NOMINMAX #ifndef NOMINMAX
#define NOMINMAX 1
#endif
#include <windows.h> #include <windows.h>
#include <lmcons.h> #include <lmcons.h>
#endif #endif