소스 검색

SDL_hidapi_ps3.c: adjust for new SDL_PLATFORM_WINDOWS meaning.

Ozkan Sezer 2 년 전
부모
커밋
6b3b7c7d4b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/joystick/hidapi/SDL_hidapi_ps3.c

+ 1 - 1
src/joystick/hidapi/SDL_hidapi_ps3.c

@@ -72,7 +72,7 @@ static SDL_bool HIDAPI_DriverPS3_IsEnabled(void)
 #ifdef SDL_PLATFORM_MACOS
 #ifdef SDL_PLATFORM_MACOS
     /* This works well on macOS */
     /* This works well on macOS */
     default_value = SDL_TRUE;
     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
     /* You can't initialize the controller with the stock Windows drivers
      * See https://github.com/ViGEm/DsHidMini as an alternative driver
      * See https://github.com/ViGEm/DsHidMini as an alternative driver
      */
      */