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.
This commit is contained in:
Chun-wei Fan 2021-10-13 12:16:06 +08:00
parent 71eece2f35
commit 3481ebdafb

View File

@ -1,5 +1,5 @@
#include <winuser.h> #define WIN32_LEAN_AND_MEAN
#include <winver.h> #include <windows.h>
GTK_ICON ICON "gtk.ico" GTK_ICON ICON "gtk.ico"