diff options
author | Elliott Hughes <enh@google.com> | 2013-11-06 13:10:37 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-11-06 13:10:37 -0800 |
commit | 8fbf8deb34d0bd1efc22d2b67d660ad32ecc4c5c (patch) | |
tree | 8bd70629fb957b305d7558141aba87817fb1f324 /libc/Android.mk | |
parent | c4dbc16eb03bcc0a3ea04cd32ce7551ad94b2bfc (diff) | |
download | bionic-8fbf8deb34d0bd1efc22d2b67d660ad32ecc4c5c.zip bionic-8fbf8deb34d0bd1efc22d2b67d660ad32ecc4c5c.tar.gz bionic-8fbf8deb34d0bd1efc22d2b67d660ad32ecc4c5c.tar.bz2 |
Fix pread/pwrite for LP64.
Unlike on 32-bit systems where off_t is 32-bit, we don't want to
throw away the top 32 bits of an LP64 system's 64-bit off_t.
Change-Id: Ib2e0daeb4fc0b8ab3d1b983d0b371d8f81033b50
Diffstat (limited to 'libc/Android.mk')
-rw-r--r-- | libc/Android.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/Android.mk b/libc/Android.mk index 1496d1f..190272e 100644 --- a/libc/Android.mk +++ b/libc/Android.mk @@ -106,11 +106,9 @@ libc_common_src_files := \ bionic/memswap.c \ bionic/pathconf.c \ bionic/perror.c \ - bionic/pread.c \ bionic/ptsname.c \ bionic/ptsname_r.c \ bionic/pututline.c \ - bionic/pwrite.c \ bionic/reboot.c \ bionic/recv.c \ bionic/sched_cpualloc.c \ @@ -180,6 +178,8 @@ libc_common_src_files += \ bionic/__get_tls.cpp \ bionic/lseek64.c \ bionic/ndk_cruft.cpp \ + bionic/pread.c \ + bionic/pwrite.c \ bionic/statfs.c \ endif |