Enable compilation on older Windows systems

Improve compatibility of the last NUMA patch when running under older versions of Windows,
for instance Windows Server 2003. Reported by user "g3g6" in the following comments:
https://github.com/official-stockfish/Stockfish/commit/7218ec4df9fef1146a451b71f0ed3bfd8123c9f9

Closes https://github.com/official-stockfish/Stockfish/pull/3821

No functional change
This commit is contained in:
noobpwnftw
2021-11-30 09:22:07 +08:00
committed by Stéphane Nicolet
parent e4a0c6c759
commit ca3c1c5f3a
2 changed files with 17 additions and 12 deletions
+1 -1
View File
@@ -1063,7 +1063,7 @@ moves_loop: // When in check, search starts here
&& history < -3000 * depth + 3000)
continue;
history += thisThread->mainHistory[us][from_to(move)];
history += thisThread->mainHistory[us][from_to(move)];
// Futility pruning: parent node (~5 Elo)
if ( !ss->inCheck