Browse Source

gamepad: use SDL_PLATFORM_ANDROID macro instead of ANDROID

Anonymous Maarten 1 week ago
parent
commit
f9f172cf60
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/joystick/SDL_gamepad.c

+ 1 - 1
src/joystick/SDL_gamepad.c

@@ -2559,7 +2559,7 @@ static int SDL_PrivateAddGamepadMapping(const char *mappingString, SDL_GamepadMa
         }
     }
 
-#ifdef ANDROID
+#ifdef SDL_PLATFORM_ANDROID
     { // Extract and verify the SDK version
         const char *tmp;