winmm: Undefine SW_MAX defined by linux/input.h to avoid a conflict with winuser.h.

This commit is contained in:
Mike McCormack 2006-06-13 16:58:38 +09:00 committed by Alexandre Julliard
parent fee72b607a
commit 25f521f1b2
1 changed files with 3 additions and 0 deletions

View File

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