frontend: Define WIN32_LEAN_AND_MEAN conditionally for ARM64
To avoid redefinition errors, define WIN32_LEAN_AND_MEAN conditionally if not defined in win-ARM64 devices.
This commit is contained in:
parent
6862de6d14
commit
9664354924
3 changed files with 6 additions and 0 deletions
|
|
@ -27,7 +27,9 @@
|
|||
#include <QInputEvent>
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef WIN32_LEAN_AND_MEAN
|
||||
#define WIN32_LEAN_AND_MEAN 1
|
||||
#endif
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue