diff --git a/include/haproxy/compiler.h b/include/haproxy/compiler.h index a935ac3b5..66b5f5835 100644 --- a/include/haproxy/compiler.h +++ b/include/haproxy/compiler.h @@ -126,7 +126,7 @@ #if defined(__GNUC__) && (__GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)) #define my_unreachable() __builtin_unreachable() #else -#define my_unreachable() +#define my_unreachable() do { } while (1) #endif #endif