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
committed by Matthias Clasen
parent c0fc8f796b
commit 9cdc332e8a

View File

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