]> git.sesse.net Git - stockfish/commitdiff
Use Windows threads library with mingw
authorMarco Costalba <mcostalba@gmail.com>
Wed, 25 Jan 2012 05:29:30 +0000 (06:29 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Wed, 25 Jan 2012 06:32:31 +0000 (07:32 +0100)
Instead of Posix threads. This seems to fix time
losses of the gcc compiled version for Windows.
The patch replaces the MSVC specific _MSC_VER flag
with _WIN32 and _WIN64 that are defined both by
MSVC and mingw-gcc.

Workaround found by Jim Ablett.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

No differences found