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:
committed by
Matthias Clasen
parent
c0fc8f796b
commit
9cdc332e8a
@@ -1,5 +1,5 @@
|
||||
#include <winuser.h>
|
||||
#include <winver.h>
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
|
||||
GTK_ICON ICON "gtk.ico"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user