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