mirror of
https://github.com/itay-grudev/SingleApplication.git
synced 2025-01-15 00:42:05 +08:00
fixed build with Qt 5.9 MSVC2017
define NOMINMAX before <Windows.h> inclusion to disable min/max macros defined in it. these macros conflict with any min/max functions and it is common practice to disable them adding NOMINMAX define.
This commit is contained in:
parent
9a408690ce
commit
3230430311
@ -57,6 +57,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#define NOMINMAX
|
||||
#include <windows.h>
|
||||
#include <lmcons.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user