This is an archive of the discontinued LLVM Phabricator instance.

[debugserver] Fix OSX build for older XCode versions after r251091.
ClosedPublic

Authored by dawn on Oct 23 2015, 6:10 PM.

Details

Summary

svn r251091 introduced references to LC_VERSION_MIN_TVOS and LC_VERSION_MIN_WATCHOS which aren't defined in XCode versions older than 7. This patch fixes the build by skipping the code if TARGET_OS_TV or TARGET_OS_WATCH aren't defined.

Diff Detail

Repository
rL LLVM

Event Timeline

dawn updated this revision to Diff 38288.Oct 23 2015, 6:10 PM
dawn retitled this revision from to [debugserver] Fix OSX build for older XCode versions after r251091..
dawn updated this object.
dawn added reviewers: jasonmolenda, clayborg.
dawn set the repository for this revision to rL LLVM.
dawn added a subscriber: lldb-commits.
jasonmolenda accepted this revision.Oct 23 2015, 6:11 PM
jasonmolenda edited edge metadata.

Thanks, I was trying to spot problems like this but missed this one.

This revision is now accepted and ready to land.Oct 23 2015, 6:11 PM
This revision was automatically updated to reflect the committed changes.