[vlc-devel] [PATCH 3/3] Android: fix large files support

Rafaël Carré funman at videolan.org
Mon Jun 18 17:29:22 CEST 2012


From: Sébastien Toque <xilasz at gmail.com>

Signed-off-by: Rafaël Carré <funman at videolan.org>
---
 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 );
-- 
1.7.9.5



More information about the vlc-devel mailing list