[Lldb-commits] [lldb] r231917 - Fix build on Windows (PATH_MAX was undefined) after r231858

Ilia K ki.stfu at gmail.com
Wed Mar 11 04:24:10 PDT 2015


Author: ki.stfu
Date: Wed Mar 11 06:24:10 2015
New Revision: 231917

URL: http://llvm.org/viewvc/llvm-project?rev=231917&view=rev
Log:
Fix build on Windows (PATH_MAX was undefined) after r231858


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

Modified: lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp?rev=231917&r1=231916&r2=231917&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp Wed Mar 11 06:24:10 2015
@@ -35,7 +35,7 @@
 #else
 #include <unistd.h> // For the ::access()
 #endif              // _WIN32
-#include <limits.h>
+#include <limits.h> // for PATH_MAX
 
 // In-house headers:
 #include "MICmnLLDBDebuggerHandleEvents.h"
@@ -50,6 +50,7 @@
 #include "MICmnStreamStderr.h"
 #include "MIUtilDebug.h"
 #include "MIDriver.h"
+#include "Platform.h" // for PATH_MAX on Windows
 
 //++ ------------------------------------------------------------------------------------
 // Details: CMICmnLLDBDebuggerHandleEvents constructor.





More information about the lldb-commits mailing list