Added missing guards in implementation for PSP.

Thanks to Martin Gerhardy for pointing this out.
This commit is contained in:
Philipp Wiesemann 2015-01-31 22:45:54 +01:00
parent cc564951ad
commit cb727e32b9
11 changed files with 50 additions and 1 deletions

View file

@ -20,6 +20,8 @@
*/
#include "../../SDL_internal.h"
#if SDL_JOYSTICK_PSP
/* This is the PSP implementation of the SDL joystick API */
#include <pspctrl.h>
#include <pspkernel.h>
@ -263,5 +265,7 @@ SDL_JoystickGUID SDL_SYS_JoystickGetGUID(SDL_Joystick * joystick)
return guid;
}
#endif /* SDL_JOYSTICK_PSP */
/* vim: ts=4 sw=4
*/