From 6b3b7c7d4b6419f990b364795f0d1438f7c84efa Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Wed, 24 Jan 2024 20:37:00 +0300 Subject: [PATCH] SDL_hidapi_ps3.c: adjust for new SDL_PLATFORM_WINDOWS meaning. --- src/joystick/hidapi/SDL_hidapi_ps3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/joystick/hidapi/SDL_hidapi_ps3.c b/src/joystick/hidapi/SDL_hidapi_ps3.c index c20f61491..7d1417b65 100644 --- a/src/joystick/hidapi/SDL_hidapi_ps3.c +++ b/src/joystick/hidapi/SDL_hidapi_ps3.c @@ -72,7 +72,7 @@ static SDL_bool HIDAPI_DriverPS3_IsEnabled(void) #ifdef SDL_PLATFORM_MACOS /* This works well on macOS */ default_value = SDL_TRUE; -#elif defined(SDL_PLATFORM_WINDOWS) +#elif defined(SDL_PLATFORM_WIN32) /* You can't initialize the controller with the stock Windows drivers * See https://github.com/ViGEm/DsHidMini as an alternative driver */