buffer when not debugging
This commit is contained in:
parent
c742185b73
commit
faea4510dc
1 changed files with 2 additions and 0 deletions
|
@ -621,8 +621,10 @@ main()
|
||||||
bool prefer_mdb_idl_location = (bool)xorshift32() % 2;
|
bool prefer_mdb_idl_location = (bool)xorshift32() % 2;
|
||||||
|
|
||||||
// disable buffering
|
// disable buffering
|
||||||
|
#ifdef DEBUG
|
||||||
setvbuf(stdout, NULL, _IONBF, 0);
|
setvbuf(stdout, NULL, _IONBF, 0);
|
||||||
setvbuf(stderr, NULL, _IONBF, 0);
|
setvbuf(stderr, NULL, _IONBF, 0);
|
||||||
|
#endif
|
||||||
|
|
||||||
l_span_loc = td_new(100);
|
l_span_loc = td_new(100);
|
||||||
b_span_loc = td_new(100);
|
b_span_loc = td_new(100);
|
||||||
|
|
Loading…
Reference in a new issue