projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0fc8f7
)
gtk: Fix version resource on for Windows 11 SDK
author
Chun-wei Fan
<fanchunwei@src.gnome.org>
Wed, 13 Oct 2021 04:16:06 +0000
(12:16 +0800)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 31 Oct 2021 21:52:05 +0000
(17:52 -0400)
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.
gtk/gtk-win32.rc.body.in
patch
|
blob
|
history
diff --git
a/gtk/gtk-win32.rc.body.in
b/gtk/gtk-win32.rc.body.in
index b876a6ddf51846236f2c77e4c529b0c0a84e303e..fc2dfd2ed31ed518cc8238bd5b5602cc4a343f02 100644
(file)
--- a/
gtk/gtk-win32.rc.body.in
+++ b/
gtk/gtk-win32.rc.body.in
@@
-1,5
+1,5
@@
-#
include <winuser.h>
-#include <win
ver
.h>
+#
define WIN32_LEAN_AND_MEAN
+#include <win
dows
.h>
GTK_ICON ICON "gtk.ico"