mirror of
https://github.com/intel/llvm.git
synced 2026-01-16 21:55:39 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user