winmm/joystick/joystick.c: Name Clash ("SW_MAX")

Andrew Talbot Andrew.Talbot at
Mon May 29 10:28:29 CDT 2006

There seems to be a name conflict in this file. "SW_MAX" is defined in
linux/input.h as a switch event, with value 0x0f. But our winuser.h has it
defined as a ShowWindow() code, with value 11 (decimal). This joystick.c
file includes linux/input.h and linux/joystick.h (which, in turn, includes

Does anyone wish to take this up, and should I create a bug report in the


-- Andy.

More information about the wine-devel mailing list