Module: wine Branch: refs/heads/master Commit: 202846739aff80789f7218c8d1efd41840a9443b URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=202846739aff80789f7218c8...
Author: Mike McCormack mike@codeweavers.com Date: Thu Feb 9 17:44:38 2006 +0100
dinput: Fix the compile for missing EV_SYN define.
---
dlls/dinput/joystick_linuxinput.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/dinput/joystick_linuxinput.c b/dlls/dinput/joystick_linuxinput.c index 5f3be50..b2d9480 100644 --- a/dlls/dinput/joystick_linuxinput.c +++ b/dlls/dinput/joystick_linuxinput.c @@ -742,9 +742,11 @@ static void joy_polldev(JoystickImpl *Th This->ff_state = ie.value; break; #endif +#ifdef EV_SYN case EV_SYN: /* there is nothing to do */ break; +#endif default: FIXME("joystick cannot handle type %d event (code %d)\n",ie.type,ie.code); break;