[PATCH 0/1] MR781: winex11.drv: Use #ifdef to check config.h macros.
From: Francois Gouget <fgouget(a)free.fr> They are undefined when the feature is missing. --- All the other checks use a form of #ifdef for these macros (except vkd3d and xslt). --- dlls/winex11.drv/mouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winex11.drv/mouse.c b/dlls/winex11.drv/mouse.c index d0cc185d96c..96be81df6e3 100644 --- a/dlls/winex11.drv/mouse.c +++ b/dlls/winex11.drv/mouse.c @@ -371,7 +371,7 @@ static void disable_xinput2(void) */ static BOOL grab_clipping_window( const RECT *clip ) { -#if HAVE_X11_EXTENSIONS_XINPUT2_H +#ifdef HAVE_X11_EXTENSIONS_XINPUT2_H static const WCHAR messageW[] = {'M','e','s','s','a','g','e',0}; struct x11drv_thread_data *data = x11drv_thread_data(); UNICODE_STRING class_name; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/781
participants (2)
-
Francois Gouget -
Francois Gouget (@fgouget)