src/core/android/SDL_android.cpp
changeset 6044 35448a5ea044
parent 5996 102a9ec1ea13
child 6138 4c64952a58fb
equal deleted inserted replaced
6043:46d78e48ae8b 6044:35448a5ea044
    18      misrepresented as being the original software.
    18      misrepresented as being the original software.
    19   3. This notice may not be removed or altered from any source distribution.
    19   3. This notice may not be removed or altered from any source distribution.
    20 */
    20 */
    21 #include "SDL_config.h"
    21 #include "SDL_config.h"
    22 #include "SDL_stdinc.h"
    22 #include "SDL_stdinc.h"
       
    23 
       
    24 #ifdef __ANDROID__
    23 
    25 
    24 #include "SDL_android.h"
    26 #include "SDL_android.h"
    25 
    27 
    26 extern "C" {
    28 extern "C" {
    27 #include "../../events/SDL_events_c.h"
    29 #include "../../events/SDL_events_c.h"
   603 extern "C" int Android_JNI_FileClose(SDL_RWops* ctx)
   605 extern "C" int Android_JNI_FileClose(SDL_RWops* ctx)
   604 {
   606 {
   605     return Android_JNI_FileClose(ctx, true);
   607     return Android_JNI_FileClose(ctx, true);
   606 }
   608 }
   607 
   609 
       
   610 #endif /* __ANDROID__ */
       
   611 
   608 /* vi: set ts=4 sw=4 expandtab: */
   612 /* vi: set ts=4 sw=4 expandtab: */