_FILE_OFFSET_BITS checking
authorMiklos Szeredi <miklos@szeredi.hu>
Tue, 13 Apr 2004 10:49:54 +0000 (10:49 +0000)
committerMiklos Szeredi <miklos@szeredi.hu>
Tue, 13 Apr 2004 10:49:54 +0000 (10:49 +0000)
ChangeLog
configure.in
include/fuse.h

index 3d78ca5897530dfb36c5aa9c1d21b4fac203e09d..5ceddaf7e47ba398bc7e721525d73a2b380ffeb6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index bc272f12173948ec45669c4dac9fa482b2cbadce..cd943fe2de3373b9089e95542366712587bf4f50 100644 (file)
@@ -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 ])
index 79c62a6e750ccbe48e42f40faf11262b9a0fabb0..f523051fe82c80dd709ac8a70952cd4d6b018766 100644 (file)
 /** 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>