forked from OSchip/llvm-project
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:
parent
90e5c30836
commit
aaea8ee628
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue