This revision was automatically updated to reflect the committed changes. Closed by commit rL246138: Fix lldb build on older OSX versions after svn commit r244716 (authored by dperchik).
Changed prior to commit: http://reviews.llvm.org/D12396?vs=33294&id=33297#toc Repository: rL LLVM http://reviews.llvm.org/D12396 Files: lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.mm Index: lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.mm =================================================================== --- lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.mm +++ lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.mm @@ -2027,6 +2027,7 @@ { bool success = false; +#if (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 101000) NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; NSOperatingSystemVersion vers = [[NSProcessInfo processInfo] operatingSystemVersion]; @@ -2040,6 +2041,7 @@ success = true; [pool drain]; +#endif return success; }
Index: lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.mm =================================================================== --- lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.mm +++ lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.mm @@ -2027,6 +2027,7 @@ { bool success = false; +#if (__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 101000) NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; NSOperatingSystemVersion vers = [[NSProcessInfo processInfo] operatingSystemVersion]; @@ -2040,6 +2041,7 @@ success = true; [pool drain]; +#endif return success; }
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits