diff --git a/qemu/include/qemu/compiler.h b/qemu/include/qemu/compiler.h index d3ab33c8..3898b533 100644 --- a/qemu/include/qemu/compiler.h +++ b/qemu/include/qemu/compiler.h @@ -62,6 +62,14 @@ #endif #endif +#ifndef likely +#define likely(x) (x) +#endif + +#ifndef unlikely +#define unlikely(x) (x) +#endif + #define sizeof_field(type, field) sizeof(((type *)0)->field) static double rint( double x )