summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wrmr.h20
1 files 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")