From e27dcd1c3b5b7b072bf721ba8869e311d10e617d Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 11 Aug 2017 23:54:06 -0700 Subject: [PATCH] Fixed Android build --- src/file/SDL_rwops.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/file/SDL_rwops.c b/src/file/SDL_rwops.c index 93727ce5b..83971edf0 100644 --- a/src/file/SDL_rwops.c +++ b/src/file/SDL_rwops.c @@ -307,6 +307,8 @@ windows_file_close(SDL_RWops * context) #define fseek_off_t __int64 #define fseek _fseeki64 #define ftell _ftelli64 +#else +#define fseek_off_t long #endif /* Functions to read/write stdio file pointers */