isofs: Fix lseek() to position beyond 4 GB
[sfrench/cifs-2.6.git] / include / linux / compiler-gcc.h
index 0da5b187f1245e8c33fd659420f5e4dca82b9ead..16508bcddaccdb12490ce70a357c54be69643000 100644 (file)
@@ -35,8 +35,7 @@
     (typeof(ptr)) (__ptr + (off)); })
 
 /* &a[0] degrades to a pointer: a different type from an array */
-#define __must_be_array(a) \
-  BUILD_BUG_ON_ZERO(__builtin_types_compatible_p(typeof(a), typeof(&a[0])))
+#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
 
 /*
  * Force always-inline if the user requests it so via the .config,