Sfoglia il codice sorgente

Fixed Android build

Sam Lantinga 7 anni fa
parent
commit
e27dcd1c3b
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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 */