forked from AuroraMiddleware/gtk
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:
commit
728f0e13a8
@ -22,7 +22,7 @@
|
||||
*/
|
||||
|
||||
#include <glib.h>
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
|
||||
/* For lookup table VK -> chars */
|
||||
typedef struct
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user