winex11: Wrap XInput2 dependent functions with appropriate #ifdef.

Signed-off-by: Chris Morgan <chmorgan@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Chris Morgan 2017-02-24 08:06:52 -05:00 committed by Alexandre Julliard
parent 803418c239
commit 9c83e5ccf2
1 changed files with 2 additions and 0 deletions

View File

@ -246,6 +246,7 @@ void sync_window_cursor( Window window )
set_window_cursor( window, cursor );
}
#ifdef HAVE_X11_EXTENSIONS_XINPUT2_H
/***********************************************************************
* update_relative_valuators
*/
@ -281,6 +282,7 @@ static void update_relative_valuators(XIAnyClassInfo **valuators, int n_valuator
}
}
}
#endif
/***********************************************************************