From a73f1409d372d88ddcac7dfa68cd685ac1aab9d4 Mon Sep 17 00:00:00 2001 From: WormHeamer Date: Thu, 18 Dec 2025 19:20:58 -0500 Subject: wrmr.h formatting tweak --- wrmr.h | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/wrmr.h b/wrmr.h index 93388b8..cbf60c0 100644 --- a/wrmr.h +++ b/wrmr.h @@ -50,17 +50,15 @@ typedef uintptr_t uptr; #ifndef NDEBUG # define UNREACHABLE_MSG(msg) FAIL_WITH_MSG(msg) #else - -#if __STDC_VERSION__ >= 202311L -# define UNREACHABLE_MSG(msg) (unreachable()) -#elif defined(__GNUC__) -# define UNREACHABLE_MSG(msg) (__builtin_unreachable()) -#elif defined(_MSC_VER) -# define UNREACHABLE_MSG(msg) (__assume(0)) -#else -# define UNREACHABLE_MSG(msg) do {} while(0) -#endif - +# if __STDC_VERSION__ >= 202311L +# define UNREACHABLE_MSG(msg) (unreachable()) +# elif defined(__GNUC__) +# define UNREACHABLE_MSG(msg) (__builtin_unreachable()) +# elif defined(_MSC_VER) +# define UNREACHABLE_MSG(msg) (__assume(0)) +# else +# define UNREACHABLE_MSG(msg) do {} while(0) +# endif #endif #define UNREACHABLE UNREACHABLE_MSG("unreachable code") -- cgit v1.2.3