diff --git a/sys/sys/vimage.h b/sys/sys/vimage.h index fd70bc467bd0..40d537e2f47b 100644 --- a/sys/sys/vimage.h +++ b/sys/sys/vimage.h @@ -224,6 +224,7 @@ void vnet_mod_register(const struct vnet_modinfo *); * But as CTASSERT_EQUAL() needs special compile time options, we * want the default case to be backed by CTASSERT(). */ +#if 0 #ifndef VIMAGE_CTASSERT #ifdef VIMAGE_CHECK_SIZES #define VIMAGE_CTASSERT(x, y) \ @@ -234,5 +235,8 @@ void vnet_mod_register(const struct vnet_modinfo *); CTASSERT(x == 0 || x == y) #endif #endif +#else +#define VIMAGE_CTASSERT(x, y) struct __hack +#endif #endif /* !_SYS_VIMAGE_H_ */