Windows: Appease capricious MSVC versions with moody headers
Fixes #37799.
Fixes #37986.
(cherry picked from commit 4d3a18d9ff
)
This commit is contained in:
parent
040254ef7c
commit
362774c617
|
@ -36,9 +36,11 @@
|
||||||
|
|
||||||
// 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 <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