Добавлен #include <stdint.h> в инклюды если нет jemalloc

This commit is contained in:
romenskiy 2025-07-03 12:53:57 +03:00
parent 4d1a527b32
commit 7e2fca422a

1
main.c
View file

@ -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;