Browse Source

Fixed Android build

Sam Lantinga 8 years ago
parent
commit
e27dcd1c3b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/file/SDL_rwops.c

+ 2 - 0
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 */