Android: fix large files support
authorSébastien Toque <xilasz@gmail.com>
Mon, 18 Jun 2012 15:28:30 +0000 (17:28 +0200)
committerRafaël Carré <funman@videolan.org>
Tue, 19 Jun 2012 07:21:37 +0000 (09:21 +0200)
Signed-off-by: Rafaël Carré <funman@videolan.org>
include/vlc_fs.h

index b464bcd..669420c 100644 (file)
@@ -76,6 +76,10 @@ static inline void vlc_rewinddir( DIR *dir )
 # endif
 #endif
 
+#ifdef __ANDROID__
+# define lseek lseek64
+#endif
+
 struct stat;
 
 VLC_API int vlc_stat( const char *filename, struct stat *buf );