Windows: Appease capricious MSVC versions with moody headers
Fixes #37799.
Fixes #37986.
(cherry picked from commit 4d3a18d9ff
)
This commit is contained in:
parent
ae0bc06eba
commit
aecba58e92
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue