commit | 8adcde9534b56d18bfe45622117c91b20aa587b1 | [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 14:46:59 2010 -0700 |
tree | 8cb7b1291fae63f594bb95e96d2804a1e45e79f6 | |
parent | cfa0d8439384a1aaa53d31fb720c234cabf796ee [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: I52d4e61010bb97e2d50af09943a2e94c0417bb5f