X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=mainloop.c;h=4f232799300a2a486d7536c600946e567b804633;hb=60900035e6d0309705f2326ee50edc52386305e9;hp=1fc4c1b2c3f6cdad93764d9c8e236d9b4fa5937e;hpb=a0f731f21d6aa26dbf7246039a1c66c2ade0533f;p=polyglot.git diff --git a/mainloop.c b/mainloop.c index 1fc4c1b..4f23279 100644 --- a/mainloop.c +++ b/mainloop.c @@ -2,7 +2,7 @@ // constants -static const int StringSize = 4096; +#define StringSize ((int)4096) // includes @@ -15,6 +15,7 @@ static const int StringSize = 4096; #include "engine.h" #include "gui.h" #include "option.h" +//#include "ini.h" #include "xboard2uci.h" #include "uci2uci.h" @@ -63,6 +64,7 @@ static void mainloop_gui_step(char * string){ void mainloop() { char string[StringSize]; + my_log("POLYGLOT *** Mainloop started ***\n"); mainloop_init(); while (!engine_eof(Engine)) { // process buffered lines