diff --git a/src/joystick/controller_type.h b/src/joystick/controller_type.h index 0f19fca9e..9a091d31c 100644 --- a/src/joystick/controller_type.h +++ b/src/joystick/controller_type.h @@ -667,7 +667,7 @@ static SDL_INLINE const char *GuessControllerName( int nVID, int nPID ) #undef MAKE_CONTROLLER_ID -static inline int GetDefaultDeadzoneSizeForControllerType( EControllerType eControllerType ) +static SDL_INLINE int GetDefaultDeadzoneSizeForControllerType( EControllerType eControllerType ) { switch ( eControllerType ) {