]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Fix compilation with Android NDK
[stockfish] / src / search.cpp
index d711d743a7a455a5db265715c62facc1f301ddeb..27365069420871c0dcddd0ba8308dcf63d7e4947 100644 (file)
@@ -51,6 +51,11 @@ using std::endl;
 using Eval::evaluate;
 using namespace Search;
 
+// For some reason argument-dependent lookup (ADL) doesn't work for Android's
+// STLPort, so explicitly qualify following functions.
+using std::count;
+using std::find;
+
 namespace {
 
   // Set to true to force running with one thread. Used for debugging