mirror of https://github.com/encounter/SDL.git
Fixed iOS build
This commit is contained in:
parent
b3e909dc41
commit
301389cecc
|
@ -2682,8 +2682,8 @@ const char *
|
||||||
SDL_GameControllerGetAppleSFSymbolsNameForButton(SDL_GameController *gamecontroller, SDL_GameControllerButton button)
|
SDL_GameControllerGetAppleSFSymbolsNameForButton(SDL_GameController *gamecontroller, SDL_GameControllerButton button)
|
||||||
{
|
{
|
||||||
#if defined(SDL_JOYSTICK_MFI)
|
#if defined(SDL_JOYSTICK_MFI)
|
||||||
const char *IOS_SDL_GameControllerGetAppleSFSymbolsNameForButton(SDL_GameController *gamecontroller, SDL_GameControllerButton button);
|
const char *IOS_GameControllerGetAppleSFSymbolsNameForButton(SDL_GameController *gamecontroller, SDL_GameControllerButton button);
|
||||||
return IOS_SDL_GameControllerGetAppleSFSymbolsNameForButton(gamecontroller, button);
|
return IOS_GameControllerGetAppleSFSymbolsNameForButton(gamecontroller, button);
|
||||||
#else
|
#else
|
||||||
return NULL;
|
return NULL;
|
||||||
#endif
|
#endif
|
||||||
|
@ -2693,8 +2693,8 @@ const char *
|
||||||
SDL_GameControllerGetAppleSFSymbolsNameForAxis(SDL_GameController *gamecontroller, SDL_GameControllerAxis axis)
|
SDL_GameControllerGetAppleSFSymbolsNameForAxis(SDL_GameController *gamecontroller, SDL_GameControllerAxis axis)
|
||||||
{
|
{
|
||||||
#if defined(SDL_JOYSTICK_MFI)
|
#if defined(SDL_JOYSTICK_MFI)
|
||||||
const char *IOS_SDL_GameControllerGetAppleSFSymbolsNameForAxis(SDL_GameController *gamecontroller, SDL_GameControllerAxis axis);
|
const char *IOS_GameControllerGetAppleSFSymbolsNameForAxis(SDL_GameController *gamecontroller, SDL_GameControllerAxis axis);
|
||||||
return IOS_SDL_GameControllerGetAppleSFSymbolsNameForAxis(gamecontroller, axis);
|
return IOS_GameControllerGetAppleSFSymbolsNameForAxis(gamecontroller, axis);
|
||||||
#else
|
#else
|
||||||
return NULL;
|
return NULL;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue