mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
sparsefile: enable large file support on Android
https://bugzilla.gnome.org/show_bug.cgi?id=758980
This commit is contained in:
parent
51a70dd586
commit
6e563cf353
1 changed files with 7 additions and 0 deletions
|
@ -36,6 +36,13 @@
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef __BIONIC__ /* Android */
|
||||
#undef lseek
|
||||
#define lseek lseek64
|
||||
#undef off_t
|
||||
#define off_t guint64
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_FSEEKO
|
||||
#define FSEEK_FILE(file,offset) (fseeko (file, (off_t) offset, SEEK_SET) != 0)
|
||||
#elif defined (G_OS_UNIX) || defined (G_OS_WIN32)
|
||||
|
|
Loading…
Reference in a new issue