]> git.sesse.net Git - stockfish/blobdiff - src/main.cpp
Fix compile errors under MSVC
[stockfish] / src / main.cpp
index 36534ae3d98b805e2bb3e34c957dfea3e029dbea..9c8601148decb1fa1874418f0cd9f6cd631f48d8 100644 (file)
@@ -1,7 +1,7 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
   Copyright (C) 2004-2008 Tord Romstad (Glaurung author)
-  Copyright (C) 2008 Marco Costalba
+  Copyright (C) 2008-2009 Marco Costalba
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -29,6 +29,7 @@
 #include <string>
 
 #include "benchmark.h"
+#include "bitcount.h"
 #include "misc.h"
 #include "uci.h"
 
@@ -75,7 +76,10 @@ int main(int argc, char *argv[]) {
 
   // Print copyright notice
   cout << engine_name() << ".  Copyright (C) "
-       << "2004-2008 Tord Romstad, Marco Costalba. " << endl;
+       << "2004-2009 Tord Romstad, Marco Costalba. " << endl;
+
+  // FIXME ONLY FOR DEBUG, REMOVE BEFORE RELEASE
+  cout << "Support for POPCNT is " << CpuHasPOPCNT << endl;
 
   // Enter UCI mode
   uci_main_loop();