1 /**
2  * hdr_malloc.h
3  * Written by Filipe Oliveira and released to the public domain,
4  * as explained at http://creativecommons.org/publicdomain/zero/1.0/
5  *
6  * Allocator selection.
7  *
8  * This file is used in order to change the HdrHistogram allocator at compile time.
9  * Just define the following defines to what you want to use. Also add
10  * the include of your alternate allocator if needed (not needed in order
11  * to use the default libc allocator). */
12 
13 #ifndef HDR_MALLOC_H__
14 #define HDR_MALLOC_H__
15 #define hdr_malloc malloc
16 #define hdr_calloc calloc
17 #define hdr_realloc realloc
18 #define hdr_free free
19 #endif
20