mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-30 21:37:43 +08:00
Fixed warning: no previous prototype for function 'SDL_PrivateIsGamepadPlatformMatch'
(cherry picked from commit cd14bf3d00)
This commit is contained in:
@@ -2360,7 +2360,7 @@ static GamepadMapping_t *SDL_PrivateGetGamepadMapping(SDL_JoystickID instance_id
|
|||||||
return mapping;
|
return mapping;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool SDL_PrivateIsGamepadPlatformMatch(const char *platform, size_t platform_len)
|
static bool SDL_PrivateIsGamepadPlatformMatch(const char *platform, size_t platform_len)
|
||||||
{
|
{
|
||||||
#ifdef SDL_PLATFORM_MACOS
|
#ifdef SDL_PLATFORM_MACOS
|
||||||
// We also accept the older SDL2 platform name for macOS
|
// We also accept the older SDL2 platform name for macOS
|
||||||
|
|||||||
Reference in New Issue
Block a user