Merge pull request #38242 from akien-mga/msvc-why-so-moody

Windows: Appease capricious MSVC versions with moody headers
This commit is contained in:
Rémi Verschelde 2020-04-27 09:01:48 +02:00 committed by GitHub
commit 41a320c827
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -38,11 +38,13 @@
// Backtrace code code based on: https://stackoverflow.com/questions/6205981/windows-c-stack-trace-from-a-running-app
#include <psapi.h>
#include <algorithm>
#include <iterator>
#include <string>
#include <vector>
#include <psapi.h>
#pragma comment(lib, "psapi.lib")
#pragma comment(lib, "dbghelp.lib")

View File

@ -22,6 +22,7 @@
#include <functional>
#include <thread>
#include <unordered_map>
#include <ostream>
#if !defined(_WIN32) || defined(__MINGW32__)
#include <libgen.h>