From: Chun-wei Fan Date: Wed, 13 Oct 2021 04:16:06 +0000 (+0800) Subject: gtk: Fix version resource on for Windows 11 SDK X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9cdc332e8a306ff118b676f66a8e5c5e29cfc0fd;p=gtk4.git gtk: Fix version resource on for Windows 11 SDK The rc.exe that comes with the Windows 11 SDK does not allow one to include winuser.h directly in the .rc scripts, so make sure that it is not included by gtk-win32.rc.body.in, but instead include windows.h with WIN32_LEAN_AND_MEAN defined. --- diff --git a/gtk/gtk-win32.rc.body.in b/gtk/gtk-win32.rc.body.in index b876a6ddf5..fc2dfd2ed3 100644 --- a/gtk/gtk-win32.rc.body.in +++ b/gtk/gtk-win32.rc.body.in @@ -1,5 +1,5 @@ -#include -#include +#define WIN32_LEAN_AND_MEAN +#include GTK_ICON ICON "gtk.ico"