fuse: better handling of long (Cygwin64 vs Win64)

This commit is contained in:
Bill Zissimopoulos committed 2016-05-31 11:12:01 -07:00
1 parent 300ce8485b
commit 765bb1e1a3
3 files changed
+23 -4

No files matched your search

+5
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