Merge pull request #610 from aldenml/android-no-preadv

Disable preadv/pwritev for android
This commit is contained in:
Arvid Norberg 2016-04-13 08:29:33 -04:00
commit 68c221186f
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