mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-05-04 14:39:31 +03:00
reduce delayed output from redirection to 16KiB to reduce the .bss size
This commit is contained in:
parent
e8f4bdd1ea
commit
f87ec74bb3
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ static void mi_cdecl mi_out_stderr(const char* msg, void* arg) {
|
||||||
// an output function is registered it is called immediately with
|
// an output function is registered it is called immediately with
|
||||||
// the output up to that point.
|
// the output up to that point.
|
||||||
#ifndef MI_MAX_DELAY_OUTPUT
|
#ifndef MI_MAX_DELAY_OUTPUT
|
||||||
#define MI_MAX_DELAY_OUTPUT ((size_t)(32*1024))
|
#define MI_MAX_DELAY_OUTPUT ((size_t)(16*1024))
|
||||||
#endif
|
#endif
|
||||||
static char out_buf[MI_MAX_DELAY_OUTPUT+1];
|
static char out_buf[MI_MAX_DELAY_OUTPUT+1];
|
||||||
static _Atomic(size_t) out_len;
|
static _Atomic(size_t) out_len;
|
||||||
|
|
Loading…
Add table
Reference in a new issue