diff --git a/project/jni/sdl-1.2/include/SDL_android.h b/project/jni/sdl-1.2/include/SDL_android.h index d22494b6e..360d73b04 100644 --- a/project/jni/sdl-1.2/include/SDL_android.h +++ b/project/jni/sdl-1.2/include/SDL_android.h @@ -26,9 +26,16 @@ #include "SDL_video.h" #include "SDL_screenkeyboard.h" #include "SDL_audio.h" -#include #include "begin_code.h" + +#if defined(__cplusplus) +struct JavaVM; +#else +struct JNIInvokeInterface; +typedef const struct JNIInvokeInterface* JavaVM; +#endif + /* Set up for C function definitions, even when using C++ */ #ifdef __cplusplus extern "C" { @@ -148,7 +155,7 @@ extern DECLSPEC void SDLCALL SDL_ANDROID_SetMouseEmulationMode( int forceHardwareMouse, int showScreenUnderFinger, int fingerHover, int fingerHoverJitterFilter, int generateSubframeTouchEvents ); - + extern DECLSPEC int SDLCALL SDL_ANDROID_GetMouseEmulationMode(); /* Control the System mouse pointer visibility */