Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4ae5b9fd
Commit
4ae5b9fd
authored
Jan 22, 2007
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dinput: Undefine SW_MAX to avoid possible conflicts with winuser.h.
parent
61b99343
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
effect_linuxinput.c
dlls/dinput/effect_linuxinput.c
+1
-0
joystick_linux.c
dlls/dinput/joystick_linux.c
+1
-0
joystick_linuxinput.c
dlls/dinput/joystick_linuxinput.c
+1
-0
No files found.
dlls/dinput/effect_linuxinput.c
View file @
4ae5b9fd
...
...
@@ -27,6 +27,7 @@
#include <string.h>
#ifdef HAVE_LINUX_INPUT_H
# include <linux/input.h>
# undef SW_MAX
#endif
#include <errno.h>
#ifdef HAVE_UNISTD_H
...
...
dlls/dinput/joystick_linux.c
View file @
4ae5b9fd
...
...
@@ -52,6 +52,7 @@
#endif
#ifdef HAVE_LINUX_JOYSTICK_H
# include <linux/joystick.h>
# undef SW_MAX
#endif
#ifdef HAVE_SYS_POLL_H
# include <sys/poll.h>
...
...
dlls/dinput/joystick_linuxinput.c
View file @
4ae5b9fd
...
...
@@ -44,6 +44,7 @@
#endif
#ifdef HAVE_LINUX_INPUT_H
# include <linux/input.h>
# undef SW_MAX
# if defined(EVIOCGBIT) && defined(EV_ABS) && defined(BTN_PINKIE)
# define HAVE_CORRECT_LINUXINPUT_H
# endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment