0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 02:02:38 +01:00

ircd::allocator::je: Fix ifdef for grabbing ABI information.

This commit is contained in:
Jason Volk 2020-06-20 22:01:57 -07:00
parent 29a051dd0e
commit 613702bc13

View file

@ -54,7 +54,7 @@ ircd::allocator::je::malloc_version_abi
"jemalloc", info::versions::ABI, 0, {0, 0, 0}, []
(info::versions &v, const mutable_buffer &buf)
{
#ifdef HAVE_JEMALLOC_H
#ifdef IRCD_ALLOCATOR_JEMALLOC
const string_view val
{
*reinterpret_cast<const char *const *>(data(allocator::get("version", buf)))