]> git.sesse.net Git - stockfish/blobdiff - src/misc.h
Add dbg_hit_on_c(c, x) tool
[stockfish] / src / misc.h
index 8bf09a86fae8a2d46a8d086f31eb4c6ce30f2308..29fc8f0340cf76c9816daa5ade0fde5d5ee70d6f 100644 (file)
@@ -36,7 +36,7 @@
 /// Version number.  If this is left empty, the current date (in the format
 /// YYMMDD) is used as a version number.
 
-const std::string EngineVersion = "2.1";
+const std::string EngineVersion = "";
 
 
 ////
@@ -64,5 +64,6 @@ extern long dbg_cnt1;
 extern void dbg_print_hit_rate();
 
 #define dbg_hit_on(x) { dbg_cnt0++; if (x) dbg_cnt1++; }
+#define dbg_hit_on_c(c, x) { if (c) dbg_hit_on(x) }
 
 #endif // !defined(MISC_H_INCLUDED)