mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 16:33:02 -05:00
inc: fuse: remove long references (as they have different size in Win64 and Cygwin64)
This commit is contained in:
parent
fd8a3ab786
commit
4a4dab14c5
@ -95,7 +95,7 @@ typedef int32_t fuse_blkcnt_t;
|
|||||||
struct fuse_timespec
|
struct fuse_timespec
|
||||||
{
|
{
|
||||||
time_t tv_sec;
|
time_t tv_sec;
|
||||||
long tv_nsec;
|
int tv_nsec;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct fuse_stat
|
struct fuse_stat
|
||||||
@ -118,17 +118,17 @@ struct fuse_stat
|
|||||||
|
|
||||||
struct fuse_statvfs
|
struct fuse_statvfs
|
||||||
{
|
{
|
||||||
unsigned long f_bsize;
|
unsigned int f_bsize;
|
||||||
unsigned long f_frsize;
|
unsigned int f_frsize;
|
||||||
fuse_fsblkcnt_t f_blocks;
|
fuse_fsblkcnt_t f_blocks;
|
||||||
fuse_fsblkcnt_t f_bfree;
|
fuse_fsblkcnt_t f_bfree;
|
||||||
fuse_fsblkcnt_t f_bavail;
|
fuse_fsblkcnt_t f_bavail;
|
||||||
fuse_fsfilcnt_t f_files;
|
fuse_fsfilcnt_t f_files;
|
||||||
fuse_fsfilcnt_t f_ffree;
|
fuse_fsfilcnt_t f_ffree;
|
||||||
fuse_fsfilcnt_t f_favail;
|
fuse_fsfilcnt_t f_favail;
|
||||||
unsigned long f_fsid;
|
unsigned int f_fsid;
|
||||||
unsigned long f_flag;
|
unsigned int f_flag;
|
||||||
unsigned long f_namemax;
|
unsigned int f_namemax;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define FSP_FUSE_ENVIRONMENT 'W'
|
#define FSP_FUSE_ENVIRONMENT 'W'
|
||||||
@ -170,7 +170,7 @@ struct fuse_statvfs
|
|||||||
struct fuse_file_info
|
struct fuse_file_info
|
||||||
{
|
{
|
||||||
int flags;
|
int flags;
|
||||||
unsigned long fh_old;
|
unsigned int fh_old;
|
||||||
int writepage;
|
int writepage;
|
||||||
unsigned int direct_io:1;
|
unsigned int direct_io:1;
|
||||||
unsigned int keep_cache:1;
|
unsigned int keep_cache:1;
|
||||||
|
@ -62,7 +62,7 @@ extern "C" {
|
|||||||
struct fuse_opt
|
struct fuse_opt
|
||||||
{
|
{
|
||||||
const char *templ;
|
const char *templ;
|
||||||
unsigned long offset;
|
unsigned int offset;
|
||||||
int value;
|
int value;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user