Quellcode durchsuchen

gamepad: use SDL_PLATFORM_ANDROID macro instead of ANDROID

Anonymous Maarten vor 5 Monaten
Ursprung
Commit
f9f172cf60
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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
     { // Extract and verify the SDK version
         const char *tmp;
         const char *tmp;