projects
/
platform
/
upstream
/
gstreamer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gst_writev: respect IOV_MAX for the writev iovec array #439
[platform/upstream/gstreamer.git]
/
plugins
/
elements
/
gstfilesrc.c
diff --git
a/plugins/elements/gstfilesrc.c
b/plugins/elements/gstfilesrc.c
index
5307351
..
76ab12c
100644
(file)
--- a/
plugins/elements/gstfilesrc.c
+++ b/
plugins/elements/gstfilesrc.c
@@
-66,12
+66,10
@@
#endif
#ifdef __BIONIC__ /* Android */
-#undef lseek
-#define lseek lseek64
+#if defined(__ANDROID_API__) && __ANDROID_API__ >= 21
#undef fstat
#define fstat fstat64
-#undef off_t
-#define off_t guint64
+#endif
#endif
#include <errno.h>