Fix LLDB build.

This was broken due to directly including windows.h, which
caused a problem when someone in LLVM called std::min in a header
file.  LLDB has a windows.h include to work around this, but it
wasn't being used in these two files.

llvm-svn: 306186
This commit is contained in:
Zachary Turner 2017-06-23 23:55:32 +00:00
parent 90e5c30836
commit aaea8ee628
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@
#include "llvm/ADT/StringRef.h" // for StringRef
#ifdef _MSC_VER
#include <windows.h>
#include "lldb/Host/windows/windows.h"
#endif
#include <memory> // for shared_ptr

View File

@ -10,7 +10,7 @@
#include "lldb/Core/Mangled.h"
#if defined(_WIN32)
#include <windows.h>
#include "lldb/Host/windows/windows.h"
#include <dbghelp.h>
#pragma comment(lib, "dbghelp.lib")