[Lldb-commits] [PATCH] D11668: Fix build of lldb on Mavericks after svn rev.243511
Phabricator
reviews at reviews.llvm.org
Thu Jul 30 17:27:18 PDT 2015
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());
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11668.31090.patch
Type: text/x-patch
Size: 1005 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150731/ba776a89/attachment.bin>
More information about the lldb-commits
mailing list