[vlc-commits] Android: fix large files support

Sébastien Toque git at videolan.org
Tue Jun 19 09:21:54 CEST 2012


vlc | branch: master | Sébastien Toque <xilasz at gmail.com> | Mon Jun 18 17:28:30 2012 +0200| [e917fdc8fe8d53f287479b81b49106f2fad9643b] | committer: Rafaël Carré

Android: fix large files support

Signed-off-by: Rafaël Carré <funman at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e917fdc8fe8d53f287479b81b49106f2fad9643b
---

 include/vlc_fs.h |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/vlc_fs.h b/include/vlc_fs.h
index b464bcd..669420c 100644
--- a/include/vlc_fs.h
+++ b/include/vlc_fs.h
@@ -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 );



More information about the vlc-commits mailing list