This is an archive of the discontinued LLVM Phabricator instance.

Fix macOS build after r358716
ClosedPublic

Authored by kongyi on Jul 25 2019, 9:55 PM.

Details

Summary

COPYFILE_CLONE is only defined on newer macOS versions, using it without check breaks build on build systems running legacy OS and toolchain.

Diff Detail

Repository
rL LLVM

Event Timeline

kongyi created this revision.Jul 25 2019, 9:55 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 25 2019, 9:55 PM
This revision is now accepted and ready to land.Jul 25 2019, 10:03 PM
This revision was automatically updated to reflect the committed changes.