From c122e9b9ceb2f7c1ec970ba5d956cf571a3116e6 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Thu, 12 Nov 2020 14:11:50 +0300 Subject: [PATCH] linux/SDL_sysjoystick.c (MaybeRemoveDevice): remove SDL_USE_LIBUDEV guards fixes bug #5349. --- src/joystick/linux/SDL_sysjoystick.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/joystick/linux/SDL_sysjoystick.c b/src/joystick/linux/SDL_sysjoystick.c index 1838cb36c..782f696b1 100644 --- a/src/joystick/linux/SDL_sysjoystick.c +++ b/src/joystick/linux/SDL_sysjoystick.c @@ -343,7 +343,6 @@ MaybeAddDevice(const char *path) return numjoysticks; } -#if SDL_USE_LIBUDEV static int MaybeRemoveDevice(const char *path) { @@ -386,7 +385,6 @@ MaybeRemoveDevice(const char *path) return -1; } -#endif static void HandlePendingRemovals(void)