[PATCH] D67894: [LLDB] Rework a MinGW build fix from D65691

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 23 13:42:03 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL372656: [LLDB] Rework a MinGW build fix from D65691 (authored by mstorsjo, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D67894?vs=221225&id=221402#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67894/new/

https://reviews.llvm.org/D67894

Files:
  lldb/trunk/tools/lldb-vscode/VSCode.cpp


Index: lldb/trunk/tools/lldb-vscode/VSCode.cpp
===================================================================
--- lldb/trunk/tools/lldb-vscode/VSCode.cpp
+++ lldb/trunk/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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67894.221402.patch
Type: text/x-patch
Size: 438 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190923/eef3b231/attachment.bin>


More information about the llvm-commits mailing list