mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 17:43:44 +00:00
winmm: Undefine SW_MAX defined by linux/input.h to avoid a conflict with winuser.h.
This commit is contained in:
parent
fee72b607a
commit
25f521f1b2
1 changed files with 3 additions and 0 deletions
|
@ -54,6 +54,9 @@
|
|||
#endif
|
||||
#ifdef HAVE_LINUX_JOYSTICK_H
|
||||
#include <linux/joystick.h>
|
||||
#ifdef SW_MAX
|
||||
#undef SW_MAX
|
||||
#endif
|
||||
#define JOYDEV_NEW "/dev/input/js%d"
|
||||
#define JOYDEV_OLD "/dev/js%d"
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue