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:
thirumalai-qcom
2025-02-12 07:14:26 +00:00
committed by Ryan Foster
parent 6862de6d14
commit 9664354924
3 changed files with 6 additions and 0 deletions
+2
View File
@@ -30,7 +30,9 @@
#include <QLineEdit>
#ifdef _WIN32
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif
#include <Windows.h>
#endif
+2
View File
@@ -27,7 +27,9 @@
#include <QInputEvent>
#ifdef _WIN32
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif
#include <Windows.h>
#endif
+2
View File
@@ -27,7 +27,9 @@
#include <QPushButton>
#ifdef _WIN32
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif
#include <Windows.h>
#endif