summaryrefslogtreecommitdiffstats
path: root/osdep/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/compiler.h')
-rw-r--r--osdep/compiler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/osdep/compiler.h b/osdep/compiler.h
index 471fc2ffd1..99fc8f0c25 100644
--- a/osdep/compiler.h
+++ b/osdep/compiler.h
@@ -24,9 +24,9 @@
#endif
#ifdef __GNUC__
-#define MP_UNREACHABLE() (assert(!"unreachable"), __builtin_unreachable())
+#define MP_ASSERT_UNREACHABLE() (assert(!"unreachable"), __builtin_unreachable())
#else
-#define MP_UNREACHABLE() (assert(!"unreachable"), abort())
+#define MP_ASSERT_UNREACHABLE() (assert(!"unreachable"), abort())
#endif
#endif