Add the --disable-experimental option.
diff --git a/src/jemalloc.c b/src/jemalloc.c
index 6e34706..3c39c85 100644
--- a/src/jemalloc.c
+++ b/src/jemalloc.c
@@ -1361,6 +1361,15 @@
return (ctl_bymib(mib, miblen, oldp, oldlenp, newp, newlen));
}
+/*
+ * End non-standard functions.
+ */
+/******************************************************************************/
+/*
+ * Begin experimental functions.
+ */
+#ifdef JEMALLOC_EXPERIMENTAL
+
JEMALLOC_INLINE void *
iallocm(size_t usize, size_t alignment, bool zero)
{
@@ -1601,8 +1610,9 @@
return (ALLOCM_SUCCESS);
}
+#endif
/*
- * End non-standard functions.
+ * End experimental functions.
*/
/******************************************************************************/