fuse: better handling of long (Cygwin64 vs Win64)

This commit is contained in:
Bill Zissimopoulos
2016-05-31 11:12:01 -07:00
parent 300ce8485b
commit 765bb1e1a3
3 changed files with 23 additions and 4 deletions

View File

@ -138,6 +138,11 @@ struct fuse_statvfs
#define FSP_FUSE_ENV_INIT { 'C', malloc, free }
/*
* Note that long is 8 bytes long in Cygwin64 and 4 bytes long in Win64.
* For this reason we avoid using long anywhere in these headers.
*/
#else
#error unsupported environment
#endif