Explorar o código

Fixed Android build

Sam Lantinga %!s(int64=8) %!d(string=hai) anos
pai
achega
e27dcd1c3b
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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 */