Disable preadv/pwritev for android

This commit is contained in:
Alden Torres 2016-04-13 00:08:08 -04:00
parent 856700e401
commit f23cf84664
1 changed files with 2 additions and 0 deletions

View File

@ -216,6 +216,8 @@ POSSIBILITY OF SUCH DAMAGE.
// ===== ANDROID ===== (almost linux, sort of)
#if defined __ANDROID__
#define TORRENT_USE_PREADV 0
#define TORRENT_USE_PREAD 1
#define TORRENT_ANDROID
#define TORRENT_HAS_FALLOCATE 0
#define TORRENT_USE_ICONV 0