[Lldb-commits] [lldb] r232008 - Fix PATH_MAX definition after remarks in r231917 (MI)
Ilia K
ki.stfu at gmail.com
Wed Mar 11 21:18:47 PDT 2015
Author: ki.stfu
Date: Wed Mar 11 23:18:47 2015
New Revision: 232008
URL: http://llvm.org/viewvc/llvm-project?rev=232008&view=rev
Log:
Fix PATH_MAX definition after remarks in r231917 (MI)
Modified:
lldb/trunk/tools/lldb-mi/Driver.cpp
lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp
lldb/trunk/tools/lldb-mi/Platform.h
Modified: lldb/trunk/tools/lldb-mi/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/Driver.cpp?rev=232008&r1=232007&r2=232008&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/Driver.cpp (original)
+++ lldb/trunk/tools/lldb-mi/Driver.cpp Wed Mar 11 23:18:47 2015
@@ -16,13 +16,12 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
-#include <limits.h>
#include <fcntl.h>
#include <string>
#endif // _MSC_VER
#include "Platform.h" // CODETAG_IOR_SIGNALS
-#include "Driver.h"
+#include "Driver.h" // for PATH_MAX
#ifdef _MSC_VER
#include <lldb\Host\windows\getopt\GetOptInc.h>
Modified: lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp?rev=232008&r1=232007&r2=232008&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp Wed Mar 11 23:18:47 2015
@@ -35,7 +35,6 @@
#else
#include <unistd.h> // For the ::access()
#endif // _WIN32
-#include <limits.h> // for PATH_MAX
// In-house headers:
#include "MICmnLLDBDebuggerHandleEvents.h"
@@ -50,7 +49,7 @@
#include "MICmnStreamStderr.h"
#include "MIUtilDebug.h"
#include "MIDriver.h"
-#include "Platform.h" // for PATH_MAX on Windows
+#include "Platform.h" // for PATH_MAX
//++ ------------------------------------------------------------------------------------
// Details: CMICmnLLDBDebuggerHandleEvents constructor.
Modified: lldb/trunk/tools/lldb-mi/Platform.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/Platform.h?rev=232008&r1=232007&r2=232008&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/Platform.h (original)
+++ lldb/trunk/tools/lldb-mi/Platform.h Wed Mar 11 23:18:47 2015
@@ -89,6 +89,7 @@ extern sighandler_t signal(int sig, sigh
#else
#include <inttypes.h>
+#include <limits.h>
#include <getopt.h>
#include <libgen.h>
More information about the lldb-commits
mailing list