diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-08-11 15:48:10 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2005-08-11 15:48:10 +0000 |
commit | 45c5db5475d2aa0a73675f3a5129523f82adfc18 (patch) | |
tree | 979361270e8e77a74ccc9c13db50b8c96a7b6de9 /include/fuse_common.h | |
parent | 17c2471741a89bd58934faf12f7f9b8b3e85af27 (diff) | |
download | libfuse-45c5db5475d2aa0a73675f3a5129523f82adfc18.tar.gz |
fix
Diffstat (limited to 'include/fuse_common.h')
-rw-r--r-- | include/fuse_common.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h index bb120d2..648d6e4 100644 --- a/include/fuse_common.h +++ b/include/fuse_common.h @@ -13,6 +13,24 @@ #ifndef _FUSE_COMMON_H_ #define _FUSE_COMMON_H_ +#ifndef FUSE_USE_VERSION +#define FUSE_USE_VERSION 21 +#endif + +/** Major version of FUSE library interface */ +#define FUSE_MAJOR_VERSION 2 + +/** Minor version of FUSE library interface */ +#define FUSE_MINOR_VERSION 4 + +#define FUSE_MAKE_VERSION(maj, min) ((maj) * 10 + (min)) +#define FUSE_VERSION FUSE_MAKE_VERSION(FUSE_MAJOR_VERSION, FUSE_MINOR_VERSION) + +/* This interface uses 64 bit off_t */ +#if _FILE_OFFSET_BITS != 64 +#error Please add -D_FILE_OFFSET_BITS=64 to your compile flags! +#endif + /** Information about open files */ struct fuse_file_info { /** Open flags. Available in open() and release() */ |