[Lldb-commits] [lldb] r335112 - Fix compilation with mingw-w64 (pr37873)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 20 02:53:30 PDT 2018


Author: labath
Date: Wed Jun 20 02:53:30 2018
New Revision: 335112

URL: http://llvm.org/viewvc/llvm-project?rev=335112&view=rev
Log:
Fix compilation with mingw-w64 (pr37873)

Modified:
    lldb/trunk/include/lldb/lldb-defines.h

Modified: lldb/trunk/include/lldb/lldb-defines.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/lldb-defines.h?rev=335112&r1=335111&r2=335112&view=diff
==============================================================================
--- lldb/trunk/include/lldb/lldb-defines.h (original)
+++ lldb/trunk/include/lldb/lldb-defines.h Wed Jun 20 02:53:30 2018
@@ -12,7 +12,7 @@
 
 #include "lldb/lldb-types.h"
 
-#if defined(_MSC_VER)
+#if defined(_WIN32)
 #if defined(EXPORT_LIBLLDB)
 #define LLDB_API __declspec(dllexport)
 #elif defined(IMPORT_LIBLLDB)
@@ -20,7 +20,7 @@
 #else
 #define LLDB_API
 #endif
-#else // defined (_MSC_VER)
+#else // defined (_WIN32)
 #define LLDB_API
 #endif
 




More information about the lldb-commits mailing list