1 #ifndef __XEN_TOOLS_LIBS__ 2 #define __XEN_TOOLS_LIBS__ 3 4 #ifndef BUILD_BUG_ON 5 #if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6) 6 #define BUILD_BUG_ON(p) ({ _Static_assert(!(p), "!(" #p ")"); }) 7 #else 8 #define BUILD_BUG_ON(p) ((void)sizeof(char[1 - 2 * !!(p)])) 9 #endif 10 #endif 11 12 #endif /* __XEN_TOOLS_LIBS__ */ 13