Fix build issue with MinGW GCC pedantic mode

Without guard this define from 3230430311 (diff-35c7c4188004bde084344a3aa8eeab6dR60) introduced compilation warning/error, and can break compilation
This commit is contained in:
iakov 2020-10-06 13:56:20 +03:00 committed by GitHub
parent 224f1d1734
commit 800bb858a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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