diff options
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common.h b/src/common.h index be88f0b..5756c83 100644 --- a/src/common.h +++ b/src/common.h @@ -6,8 +6,9 @@ # define unlikely(x) __builtin_expect(!!(x), 0) #else # define __attribute__(x) -# define likely(x) (x) -# define unlikely(x) (x) +# define __builtin_unreachable() (((char *)0)[0] = 0) +# define likely(x) (x) +# define unlikely(x) (x) #endif #endif /* !ORYX_COMMON_H */ |