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
|
@ -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 New Issue