Commit 4d3a18d9 by Rémi Verschelde

Windows: Appease capricious MSVC versions with moody headers

Fixes #37799. Fixes #37986.
parent 5f645e5d
...@@ -38,11 +38,13 @@ ...@@ -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")
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <functional> #include <functional>
#include <thread> #include <thread>
#include <unordered_map> #include <unordered_map>
#include <ostream>
#if !defined(_WIN32) || defined(__MINGW32__) #if !defined(_WIN32) || defined(__MINGW32__)
#include <libgen.h> #include <libgen.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment