mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Fix an MSVC 2017 error and warnings.
Improved version by @mcostalba. No functional change.
This commit is contained in:
committed by
Stéphane Nicolet
parent
96362fe3df
commit
350dff4464
@@ -23,6 +23,11 @@
|
||||
#undef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x0601 // Force to include needed API prototypes
|
||||
#endif
|
||||
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
|
||||
#include <windows.h>
|
||||
// The needed Windows API for processor groups could be missed from old Windows
|
||||
// versions, so instead of calling them directly (forcing the linker to resolve
|
||||
|
||||
Reference in New Issue
Block a user