summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2019-09-23 20:43:11 +0000
committerMartin Storsjo <martin@martin.st>2019-09-23 20:43:11 +0000
commitc98bb8658e041263a501e7bbef52d9e46e64148d (patch)
treeea5075d211b04142ece3af1d8e9224468b36aa80
parent99d3dd287adfc16a26570b250fafb0031ed7c350 (diff)
downloadbcm5719-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.cpp4
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
OpenPOWER on IntegriCloud