summaryrefslogtreecommitdiffstats
path: root/include/jemalloc/jemalloc_defs.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'include/jemalloc/jemalloc_defs.h.in')
-rw-r--r--include/jemalloc/jemalloc_defs.h.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/jemalloc/jemalloc_defs.h.in b/include/jemalloc/jemalloc_defs.h.in
index c469142..1cd6025 100644
--- a/include/jemalloc/jemalloc_defs.h.in
+++ b/include/jemalloc/jemalloc_defs.h.in
@@ -222,6 +222,15 @@
#undef JEMALLOC_OVERRIDE_VALLOC
/*
+ * At least Linux omits the "const" in:
+ *
+ * size_t malloc_usable_size(const void *ptr);
+ *
+ * Match the operating system's prototype.
+ */
+#undef JEMALLOC_USABLE_SIZE_CONST
+
+/*
* Darwin (OS X) uses zones to work around Mach-O symbol override shortcomings.
*/
#undef JEMALLOC_ZONE