gst_writev: respect IOV_MAX for the writev iovec array #439
[platform/upstream/gstreamer.git] / plugins / elements / gstfilesrc.c
index 5307351..76ab12c 100644 (file)
 #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>