[Lldb-commits] [lldb] r336483 - Fix build on Windows with SDK build version >= 17134.

Tatyana Krasnukha via lldb-commits lldb-commits at lists.llvm.org
Sat Jul 7 07:58:13 PDT 2018


Author: tkrasnukha
Date: Sat Jul  7 07:58:13 2018
New Revision: 336483

URL: http://llvm.org/viewvc/llvm-project?rev=336483&view=rev
Log:
Fix build on Windows with SDK build version >= 17134.

Platform.h doesn't define signal() and SIGINT since commit r263858. Code was compiled successfully because signal.h didn't have "ifndef" include guard in previous versions of Windows SDK. Now it does.

Modified:
    lldb/trunk/tools/lldb-mi/MIDriverMain.cpp

Modified: lldb/trunk/tools/lldb-mi/MIDriverMain.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MIDriverMain.cpp?rev=336483&r1=336482&r2=336483&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MIDriverMain.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MIDriverMain.cpp Sat Jul  7 07:58:13 2018
@@ -26,11 +26,6 @@
 //                  MICmdBase.h / .cpp
 //                  MICmdCmd.h / .cpp
 
-#if defined(_MSC_VER)
-#define _INC_SIGNAL // Stop window's signal.h being included -
-                    // CODETAG_IOR_SIGNALS
-#endif              // _MSC_VER
-
 // Third party headers:
 #include "lldb/API/SBHostOS.h"
 #include <atomic>




More information about the lldb-commits mailing list