diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | configure.in | 1 | ||||
-rw-r--r-- | include/fuse.h | 6 |
3 files changed, 13 insertions, 2 deletions
@@ -1,3 +1,11 @@ +2004-04-13 Miklos Szeredi <mszeredi@inf.bme.hu> + + * Replaced binary mount data with text options + + * Show FUSE specific mount options in /proc/mounts + + * Check in fuse.h whether _FILE_OFFSET_BITS is set to 64 + 2004-04-09 Miklos Szeredi <mszeredi@inf.bme.hu> * Check some limits so userspace won't get too big requests diff --git a/configure.in b/configure.in index bc272f1..cd943fe 100644 --- a/configure.in +++ b/configure.in @@ -11,6 +11,7 @@ fi AC_SUBST(LD) CFLAGS="-Wall -W -g -O2" +CPPFLAGS="$(CPPFLAGS) -D_FILE_OFFSET_BITS=64" AC_ARG_ENABLE(kernel-module, [ --enable-kernel-module Compile kernel module, requires --with-kernel option ]) diff --git a/include/fuse.h b/include/fuse.h index 79c62a6..f523051 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -17,8 +17,10 @@ /** Minor version of FUSE library interface */ #define FUSE_MINOR_VERSION 1 -/* Now and forever: this interface uses 64 bit off_t */ -#define _FILE_OFFSET_BITS 64 +/* 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 #include <sys/types.h> #include <sys/stat.h> |