Move from off_t to stat struct to avoid struggling with rarely available _off64_t in cache_git struct

This commit is contained in:
jsteube
2016-10-31 10:20:25 +01:00
parent 6d2ce0d71a
commit 80b3f52952
3 changed files with 12 additions and 6 deletions

View File

@@ -1635,7 +1635,13 @@ typedef struct cache_hit
{
char *dictfile;
off_t st_size;
#if defined (_POSIX)
struct stat stat;
#endif
#if defined (_WIN)
struct __stat64 stat;
#endif
u64 cached_cnt;
u64 keyspace;