Merge branch 'fix_windows_build' into 'gtk-3-24'

Fix Windows build in gtk 3.24.31

See merge request GNOME/gtk!4292
This commit is contained in:
Luca Bacci 2022-01-02 16:27:33 +00:00
commit 728f0e13a8
3 changed files with 6 additions and 2 deletions

View File

@ -22,7 +22,7 @@
*/
#include <glib.h>
#include <Windows.h>
#include <windows.h>
/* For lookup table VK -> chars */
typedef struct

View File

@ -138,6 +138,10 @@
#define PA_ACTIVATE MA_ACTIVATE
#define PA_NOACTIVATE MA_NOACTIVATE
#ifndef GC_ALLGESTURES
#define GC_ALLGESTURES 0x1
#endif
typedef DWORD POINTER_INPUT_TYPE;
typedef UINT32 POINTER_FLAGS;
typedef UINT32 TOUCH_FLAGS;

View File

@ -683,7 +683,7 @@ if win32_enabled
else
pc_gdk_extra_libs += ['-Wl,-luuid']
endif
pc_gdk_extra_libs += ['-lwinmm', '-ldwmapi', '-lsetupapi', '-lcfgmgr32']
pc_gdk_extra_libs += ['-lwinmm', '-ldwmapi', '-lsetupapi', '-lcfgmgr32', '-lhid']
backend_immodules += ['ime']
# Check whether libepoxy is built with EGL support on Windows