commit | 6be460d5b0b60aca4e8d649e2254f8a8920f4d98 | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Mon Oct 04 14:43:15 2010 -0700 |
committer | Kenny Root <kroot@google.com> | Mon Oct 04 15:13:49 2010 -0700 |
tree | 048b9e646d86f20ded9e9d564230877daa30fc13 | |
parent | 912ff85b035e0e6bc109812c1ea5661ea4df5967 [diff] |
Add HAVE_PREAD definition to platforms ZipFileRO uses pread() to guarantee atomic reads at an offset, so use the HAVE_PREAD flag to trigger off of. The only platform that doesn't implement it directly is Windows. Change-Id: Ic927611dc45b75ff8f672ed59afee5be1ad07ab4