Fixes needed to compile swift with MSVC with the /permissive- switch

which enables more C++ standard conformance.
This commit is contained in:
Mat Sutcliffe
2018-10-28 21:55:54 +00:00
committed by Klaus Basan
parent 919a31b250
commit df563d5b29
6 changed files with 29 additions and 2 deletions

View File

@@ -15,6 +15,9 @@
#if defined(Q_OS_MACOS)
#include <libproc.h>
#elif defined(Q_OS_WIN)
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <windows.h>
#include <psapi.h>
#endif