From 0c1402d92aff259d9504f4fe3aa111fa3a3194f0 Mon Sep 17 00:00:00 2001
From: pstef <3462925+pstef@users.noreply.github.com>
Date: Sat, 3 May 2025 13:27:40 +0000
Subject: [PATCH] Reapply "Define WIN32_LEAN_AND_MEAN to avoid collision with
winsock2"
It was reverted in 309c67a205895b5036897e7f0aefc5730750a9a1 because it
was suspected of breaking Windows releases, but the reason was
different.
---
ui/drivers/ui_qt.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/ui/drivers/ui_qt.cpp b/ui/drivers/ui_qt.cpp
index 5a8cb7170d..1fa54da778 100644
--- a/ui/drivers/ui_qt.cpp
+++ b/ui/drivers/ui_qt.cpp
@@ -14,6 +14,7 @@
* If not, see .
*/
+#define WIN32_LEAN_AND_MEAN
#include
#include
#include