[Lldb-commits] [lldb] r372493 - Use _WIN32 instead of _MSC_VER

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


Author: hhb
Date: Sat Sep 21 18:21:34 2019
New Revision: 372493

URL: http://llvm.org/viewvc/llvm-project?rev=372493&view=rev
Log:
Use _WIN32 instead of _MSC_VER

Summary: This way it works better with MinGW.

Subscribers: mstorsjo, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D67887

Modified:
    lldb/trunk/source/Core/IOHandler.cpp

Modified: lldb/trunk/source/Core/IOHandler.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/IOHandler.cpp?rev=372493&r1=372492&r2=372493&view=diff
==============================================================================
--- lldb/trunk/source/Core/IOHandler.cpp (original)
+++ lldb/trunk/source/Core/IOHandler.cpp Sat Sep 21 18:21:34 2019
@@ -52,7 +52,7 @@
 
 #include "llvm/ADT/StringRef.h"
 
-#ifdef _MSC_VER
+#ifdef _WIN32
 #include "lldb/Host/windows/windows.h"
 #endif
 




More information about the lldb-commits mailing list