Crafty 25.6 without Syzygy

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

User avatar
Deberger
Posts: 91
Joined: Sat Nov 02, 2019 6:42 pm
Full name: ɹǝƃɹǝqǝᗡ ǝɔnɹꓭ

Crafty 25.6 without Syzygy

Post by Deberger »

Some minor changes for Crafty 25.6 without Syzygy

Code: Select all

diff --git a/src/crafty.c b/src/crafty.c
index 998e2a7..3c97a8b 100644
--- a/src/crafty.c
+++ b/src/crafty.c
@@ -25,7 +25,9 @@
 #include "attacks.c"
 #include "see.c"
 #include "utility.c"
-#include "tbprobe.c"
+#if defined(SYZYGY)
+#  include "tbprobe.c"
+#endif
 #include "book.c"
 #include "autotune.c"
 #include "analyze.c"
diff --git a/src/iterate.c b/src/iterate.c
index 78c0011..b79a9c0 100644
--- a/src/iterate.c
+++ b/src/iterate.c
@@ -2,7 +2,9 @@
 #include "chess.h"
 #include "data.h"
 #include "epdglue.h"
-#include "tbprobe.h"
+#if defined(SYZYGY)
+#  include "tbprobe.h"
+#endif
 /* last modified 11/10/19 */
 /*
  *******************************************************************************
diff --git a/src/option.c b/src/option.c
index 11b3fff..5f49103 100644
--- a/src/option.c
+++ b/src/option.c
@@ -7,7 +7,9 @@
 #  include <signal.h>
 #endif
 #include "epdglue.h"
-#include "tbprobe.h"
+#if defined(SYZYGY)
+#  include "tbprobe.h"
+#endif
 /* last modified 11/10/19 */
 /*
  *******************************************************************************
bob
Posts: 20943
Joined: Mon Feb 27, 2006 7:30 pm
Location: Birmingham, AL

Re: Crafty 25.6 without Syzygy

Post by bob »

I made these changes. Had forgotten to do that when I added the SYZYGY code...