blob: 528870252ac78ae4fee86ab2939a667e3a151238 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-src_smp.cpp,v 1.1 2022/04/25 13:53:15 tnn Exp $
Explicitly use std::sqrt, avoids ambiguous reference on SunOS.
--- src/smp.cpp.orig 2017-02-04 14:23:32.000000000 +0000
+++ src/smp.cpp
@@ -14,6 +14,8 @@
#include "chess.h"
#include "search.h"
+using std::sqrt;
+
//-----------------------------------------------
// Global variables to control SMP search
//-----------------------------------------------
|