Add missing chy_ prefix Fixes Cygwin build.
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/cfdefaf8 Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/cfdefaf8 Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/cfdefaf8 Branch: refs/heads/master Commit: cfdefaf81be28806d4d9fc635ca4d362f91e737a Parents: 3b1945e Author: Nick Wellnhofer <[email protected]> Authored: Tue Jul 22 20:50:47 2014 +0200 Committer: Nick Wellnhofer <[email protected]> Committed: Tue Jul 22 20:50:47 2014 +0200 ---------------------------------------------------------------------- core/Lucy/Store/FSFileHandle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/cfdefaf8/core/Lucy/Store/FSFileHandle.c ---------------------------------------------------------------------- diff --git a/core/Lucy/Store/FSFileHandle.c b/core/Lucy/Store/FSFileHandle.c index 74f5ffc..17b6a07 100644 --- a/core/Lucy/Store/FSFileHandle.c +++ b/core/Lucy/Store/FSFileHandle.c @@ -421,7 +421,7 @@ FSFH_Read_IMP(FSFileHandle *self, char *dest, int64_t offset, size_t len) { } // Read. - check_val = pread64(ivars->fd, dest, len, offset); + check_val = chy_pread64(ivars->fd, dest, len, offset); if (check_val != (int64_t)len) { if (check_val == -1) { Err_set_error(Err_new(Str_newf("Tried to read %u64 bytes, got %i64: %s",
