Fix building against the Windows 11 SDK (GTK+-3.x)
Hi,
It was reported in 1 that GTK+-3.24.x fails to build on Visual Studio when the Windows 11 SDK is being used when the resource compiler is being used, with a rather cryptic error message. This fixes the build against the Windows 11 SDK by ensuring that our .rc files do not try to include winuser.h
directly, but instead includes windows.h
with WIN32_LEAN_AND_MEAN
defined.
Similar items will likely be needed for GTK-4.x.