[Lldb-commits] [PATCH] D67887: Use _WIN32 instead of _MSC_VER

Haibo Huang via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Sat Sep 21 18:18:34 PDT 2019


hhb created this revision.
Herald added subscribers: lldb-commits, mstorsjo.
Herald added a project: LLDB.

This way it works better with MinGW.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D67887

Files:
  lldb/source/Core/IOHandler.cpp


Index: lldb/source/Core/IOHandler.cpp
===================================================================
--- lldb/source/Core/IOHandler.cpp
+++ lldb/source/Core/IOHandler.cpp
@@ -52,7 +52,7 @@
 
 #include "llvm/ADT/StringRef.h"
 
-#ifdef _MSC_VER
+#ifdef _WIN32
 #include "lldb/Host/windows/windows.h"
 #endif
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67887.221206.patch
Type: text/x-patch
Size: 313 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190922/7037e648/attachment.bin>


More information about the lldb-commits mailing list