Windows: Appease capricious MSVC versions with moody headers
Fixes #37799.
Fixes #37986.
(cherry picked from commit 4d3a18d9ff
)
This commit is contained in:
parent
ecbaa6e8a0
commit
8e50c00a13
|
@ -38,11 +38,13 @@
|
||||||
|
|
||||||
// Backtrace code code based on: https://stackoverflow.com/questions/6205981/windows-c-stack-trace-from-a-running-app
|
// Backtrace code code based on: https://stackoverflow.com/questions/6205981/windows-c-stack-trace-from-a-running-app
|
||||||
|
|
||||||
#include <psapi.h>
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
#include <psapi.h>
|
||||||
|
|
||||||
#pragma comment(lib, "psapi.lib")
|
#pragma comment(lib, "psapi.lib")
|
||||||
#pragma comment(lib, "dbghelp.lib")
|
#pragma comment(lib, "dbghelp.lib")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue