configure stderr buffering. needed for windows

This commit is contained in:
cathugger 2018-02-22 00:56:31 +00:00
parent 01c3b9f3f5
commit 09b7b46755

1
main.c
View file

@ -471,6 +471,7 @@ int main(int argc,char **argv)
ge_initeightpoint();
filters_init();
setvbuf(stderr,0,_IONBF,0);
fout = stdout;
pthread_mutex_init(&keysgenerated_mutex, 0);
pthread_mutex_init(&fout_mutex, 0);