Blob Blame History Raw
diff -up libfuse-fuse-3.1.0/example/passthrough_ll.c.revert libfuse-fuse-3.1.0/example/passthrough_ll.c
--- libfuse-fuse-3.1.0/example/passthrough_ll.c.revert	2017-07-28 15:43:12.979509068 -0400
+++ libfuse-fuse-3.1.0/example/passthrough_ll.c	2017-07-28 15:43:18.609373600 -0400
@@ -51,6 +51,7 @@
    lo_dirp` elements as inodes. This means that we require uintptr_t
    and fuse_ino_t to have the same size. The following incantation
    defines a compile time assert for this requirement. */
+/* Disable for now, check is not useful.
 #if defined(__GNUC__) && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ >= 6) && !defined __cplusplus
 _Static_assert(sizeof(fuse_ino_t) == sizeof(uintptr_t), "fuse: off_t must be 64bit");
 #else
@@ -58,7 +59,7 @@ struct _uintptr_to_must_hold_fuse_ino_t_
 	{ unsigned _uintptr_to_must_hold_fuse_ino_t:
 			((sizeof(fuse_ino_t) == sizeof(uintptr_t)) ? 1 : -1); };
 #endif
-
+*/
 
 /* Compat stuff.  Doesn't make it work, just makes it compile. */
 #ifndef HAVE_FSTATAT