Commit e27dcd1c3b5b7b072bf721ba8869e311d10e617d

Sam Lantinga 2017-08-11T23:54:06

Fixed Android build

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/file/SDL_rwops.c b/src/file/SDL_rwops.c
index 93727ce..83971ed 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 */