From f448ed5c51eb908ee3e2c3762602ce0bdbf738fe Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Tue, 25 Mar 2025 23:25:20 +0100 Subject: [PATCH] Fix for GCC 15 --- client/deps/tinycbor/compilersupport_p.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/deps/tinycbor/compilersupport_p.h b/client/deps/tinycbor/compilersupport_p.h index 91d88229e..3223324d9 100644 --- a/client/deps/tinycbor/compilersupport_p.h +++ b/client/deps/tinycbor/compilersupport_p.h @@ -179,7 +179,9 @@ #ifndef unlikely # define unlikely(x) __builtin_expect(!!(x), 0) #endif +#ifndef unreachable # define unreachable() __builtin_unreachable() +#endif #elif defined(_MSC_VER) # define likely(x) (x) # define unlikely(x) (x)