mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-25 06:13:13 +00:00
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:
@@ -39,12 +39,6 @@
|
|||||||
# define unlikely(x) !!(x)
|
# define unlikely(x) !!(x)
|
||||||
#endif
|
#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. */
|
/* Set error code. */
|
||||||
UTIL_INLINE void
|
UTIL_INLINE void
|
||||||
set_errno(int errnum) {
|
set_errno(int errnum) {
|
||||||
|
|||||||
Reference in New Issue
Block a user