Windows: Appease capricious MSVC versions with moody headers

Fixes #37799.
Fixes #37986.

(cherry picked from commit 4d3a18d9ff)
This commit is contained in:
Rémi Verschelde 2020-04-26 22:27:04 +02:00
parent 040254ef7c
commit 362774c617
1 changed files with 3 additions and 1 deletions

View File

@ -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")