Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

devel/sdl20: Regen patch #1441

Merged
merged 1 commit into from
Oct 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
--- src/joystick/linux/SDL_sysjoystick.c.orig 2021-11-26 16:03:45 UTC
--- src/joystick/linux/SDL_sysjoystick.c.orig 2023-10-01 19:12:03 UTC
+++ src/joystick/linux/SDL_sysjoystick.c
@@ -506,6 +506,7 @@ static int SDL_inotify_init1(void) {
@@ -586,7 +586,9 @@ static int SDL_inotify_init1(void)
return fd;
}
#endif
+#endif

static int
StrHasPrefix(const char *string, const char *prefix)
@@ -561,6 +562,7 @@ IsJoystickDeviceNode(const char *node)
}
}

+#ifdef HAVE_INOTIFY
static void
LINUX_InotifyJoystickDetect(void)
static void LINUX_InotifyJoystickDetect(void)
{
union