summaryrefslogtreecommitdiffstats
path: root/include/jemalloc/internal/hook.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/jemalloc/internal/hook.h')
-rw-r--r--include/jemalloc/internal/hook.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/jemalloc/internal/hook.h b/include/jemalloc/internal/hook.h
index 678c601..9ea9c6f 100644
--- a/include/jemalloc/internal/hook.h
+++ b/include/jemalloc/internal/hook.h
@@ -46,6 +46,8 @@
* order.
*/
+#define HOOK_MAX 4
+
enum hook_alloc_e {
hook_alloc_malloc,
hook_alloc_posix_memalign,