This revision was automatically updated to reflect the committed changes.
Closed by commit rL243715: Fix build of lldb on Mavericks after svn rev.243511.
(authored by dperchik).
Changed prior to commit:
http://reviews.llvm.org/D11668?vs=31085&id=31090#toc
Repository:
rL LLVM
http://reviews.llvm.org/D11668
Files:
lldb/trunk/tools/debugserver/source/RNBRemote.cpp
Index: lldb/trunk/tools/debugserver/source/RNBRemote.cpp
===================================================================
--- lldb/trunk/tools/debugserver/source/RNBRemote.cpp
+++ lldb/trunk/tools/debugserver/source/RNBRemote.cpp
@@ -141,7 +141,7 @@
extern void ASLLogCallback(void *baton, uint32_t flags, const char *format,
va_list args);
-#if defined (__APPLE__)
+#if defined (__APPLE__) && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >=
101000)
// from System.framework/Versions/B/PrivateHeaders/sys/codesign.h
extern "C" {
#define CS_OPS_STATUS 0 /* return status */
@@ -3692,7 +3692,7 @@
else
m_ctx.LaunchStatus().SetErrorString("attach failed");
-#if defined (__APPLE__)
+#if defined (__APPLE__) && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >=
101000)
if (pid_attaching_to == INVALID_NUB_PROCESS &&
!attach_name.empty())
{
pid_attaching_to = DNBProcessGetPIDByName
(attach_name.c_str());
Index: lldb/trunk/tools/debugserver/source/RNBRemote.cpp
===================================================================
--- lldb/trunk/tools/debugserver/source/RNBRemote.cpp
+++ lldb/trunk/tools/debugserver/source/RNBRemote.cpp
@@ -141,7 +141,7 @@
extern void ASLLogCallback(void *baton, uint32_t flags, const char *format, va_list args);
-#if defined (__APPLE__)
+#if defined (__APPLE__) && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 101000)
// from System.framework/Versions/B/PrivateHeaders/sys/codesign.h
extern "C" {
#define CS_OPS_STATUS 0 /* return status */
@@ -3692,7 +3692,7 @@
else
m_ctx.LaunchStatus().SetErrorString("attach failed");
-#if defined (__APPLE__)
+#if defined (__APPLE__) && (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 101000)
if (pid_attaching_to == INVALID_NUB_PROCESS && !attach_name.empty())
{
pid_attaching_to = DNBProcessGetPIDByName (attach_name.c_str());
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits