diff options
| author | Martin Storsjo <martin@martin.st> | 2019-09-23 20:43:11 +0000 |
|---|---|---|
| committer | Martin Storsjo <martin@martin.st> | 2019-09-23 20:43:11 +0000 |
| commit | c98bb8658e041263a501e7bbef52d9e46e64148d (patch) | |
| tree | ea5075d211b04142ece3af1d8e9224468b36aa80 | |
| parent | 99d3dd287adfc16a26570b250fafb0031ed7c350 (diff) | |
| download | bcm5719-llvm-c98bb8658e041263a501e7bbef52d9e46e64148d.tar.gz bcm5719-llvm-c98bb8658e041263a501e7bbef52d9e46e64148d.zip | |
[LLDB] Rework a MinGW build fix from D65691
That change didn't contain any explanation for this bit. There shouldn't
be any need for a check for MinGW ifdefs here, as long as the include
uses lowercase windows.h (as is used consistently elsewhere in
the llvm projects).
Differential Revision: https://reviews.llvm.org/D67894
llvm-svn: 372656
| -rw-r--r-- | lldb/tools/lldb-vscode/VSCode.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lldb/tools/lldb-vscode/VSCode.cpp b/lldb/tools/lldb-vscode/VSCode.cpp index bba39d70e5f..283798eb7ab 100644 --- a/lldb/tools/lldb-vscode/VSCode.cpp +++ b/lldb/tools/lldb-vscode/VSCode.cpp @@ -15,10 +15,8 @@ #include "llvm/Support/FormatVariadic.h" #if defined(_WIN32) -#ifndef __MINGW32__ #define NOMINMAX -#include <Windows.h> -#endif // __MINGW32__ +#include <windows.h> #include <fcntl.h> #include <io.h> #endif |

