mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 20:57:10 +00:00
Fix MSVC compile
broken after Shared Memory patch. closes https://github.com/official-stockfish/Stockfish/pull/6397 No functional change
This commit is contained in:
committed by
Joost VandeVondele
parent
fa4f05d3ef
commit
84148586e5
@@ -41,6 +41,13 @@
|
||||
#endif
|
||||
#include <windows.h>
|
||||
|
||||
// Some Windows headers (RPC/old headers) define short macros such
|
||||
// as 'small' expanding to 'char', which breaks identifiers in the code.
|
||||
// Undefine those macros immediately after including <windows.h>.
|
||||
#ifdef small
|
||||
#undef small
|
||||
#endif
|
||||
|
||||
#include <psapi.h>
|
||||
|
||||
extern "C" {
|
||||
|
||||
Reference in New Issue
Block a user