mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-29 02:03:03 +08:00
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:
committed by
Ryan Foster
parent
6862de6d14
commit
9664354924
@@ -30,7 +30,9 @@
|
||||
#include <QLineEdit>
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef WIN32_LEAN_AND_MEAN
|
||||
#define WIN32_LEAN_AND_MEAN 1
|
||||
#endif
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -27,7 +27,9 @@
|
||||
#include <QInputEvent>
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef WIN32_LEAN_AND_MEAN
|
||||
#define WIN32_LEAN_AND_MEAN 1
|
||||
#endif
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
|
||||
|
||||
@@ -27,7 +27,9 @@
|
||||
#include <QPushButton>
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef WIN32_LEAN_AND_MEAN
|
||||
#define WIN32_LEAN_AND_MEAN 1
|
||||
#endif
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user