version 1.4.58b
[polyglot.git] / mainloop.c
index 1fc4c1b..4f23279 100644 (file)
@@ -2,7 +2,7 @@
 \r
 // constants\r
 \r
-static const int StringSize = 4096;\r
+#define StringSize ((int)4096)\r
 \r
 // includes\r
 \r
@@ -15,6 +15,7 @@ static const int StringSize = 4096;
 #include "engine.h"\r
 #include "gui.h"\r
 #include "option.h"\r
+//#include "ini.h"\r
 #include "xboard2uci.h"\r
 #include "uci2uci.h"\r
 \r
@@ -63,6 +64,7 @@ static void mainloop_gui_step(char * string){
 \r
 void mainloop() {\r
     char string[StringSize];\r
+    my_log("POLYGLOT *** Mainloop started ***\n");\r
     mainloop_init();\r
     while (!engine_eof(Engine)) {\r
             // process buffered lines\r