]> wimlib.net Git - wimlib/blobdiff - include/wimlib/compiler.h
Add sparse annotations for endianness checking
[wimlib] / include / wimlib / compiler.h
index fd8942f15bf025bec6aa5485fcfadc07402d2096..567f07d074007bdd11566f3508dc245feda19e2d 100644 (file)
 #      define is_constant(x) (0)
 #endif /* __GNUC__ */
 
+#ifdef __CHECKER__
+#  define _bitwise_attr        __attribute__((bitwise))
+#  define _force_attr  __attribute__((force))
+#else
+#  define _bitwise_attr
+#  define _force_attr
+#endif
+
 #endif /* _WIMLIB_COMPILER_H */