Добавлен #include <stdint.h> в инклюды если нет jemalloc
This commit is contained in:
parent
4d1a527b32
commit
7e2fca422a
1 changed files with 1 additions and 0 deletions
1
main.c
1
main.c
|
|
@ -21,6 +21,7 @@ const char *je_malloc_conf = "narenas:2,lg_chunk:20,stats_print:false";
|
|||
#define je_calloc(nmemb, size) calloc((nmemb), (size))
|
||||
#define je_realloc(ptr, size) realloc((ptr), (size))
|
||||
#define je_free(ptr) free((ptr))
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
unsigned narenas = 4;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue