Commit 25f521f1 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

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

parent fee72b60
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment