This avoids OS-dependencies in the cache file structure.
typedef struct _FcCache {
int magic; /* FC_CACHE_MAGIC */
typedef struct _FcCache {
int magic; /* FC_CACHE_MAGIC */
- off_t size; /* size of file */
+ intptr_t size; /* size of file */
intptr_t dir; /* offset to dir name */
intptr_t dirs; /* offset to subdirs */
int dirs_count; /* number of subdir strings */
intptr_t dir; /* offset to dir name */
intptr_t dirs; /* offset to subdirs */
int dirs_count; /* number of subdir strings */
double d;
int i;
intptr_t ip;
double d;
int i;
intptr_t ip;
FcBool b;
void *p;
} FcAlign;
FcBool b;
void *p;
} FcAlign;