Remove unreachable() macro as c23 already defines it.

Taken from https://android-review.git.corp.google.com/c/platform/external/jemalloc_new/+/3316478

This might need more cleanups to remove the definition of JEMALLOC_INTERNAL_UNREACHABLE.
This commit is contained in:
appujee 2024-10-25 14:00:32 -07:00 committed by Qi Wang
parent 587676fee8
commit d8486b2653
1 changed files with 0 additions and 6 deletions

View File

@ -39,12 +39,6 @@
# define unlikely(x) !!(x)
#endif
#if !defined(JEMALLOC_INTERNAL_UNREACHABLE)
# error JEMALLOC_INTERNAL_UNREACHABLE should have been defined by configure
#endif
#define unreachable() JEMALLOC_INTERNAL_UNREACHABLE()
/* Set error code. */
UTIL_INLINE void
set_errno(int errnum) {