Commit 3a9f4490 authored by Brad King's avatar Brad King

libarchive: Use Apple copyfile.h API only if available

Do not use the copyfile.h API if the header is not available.
The Mac SDK for older OS X versions does not provide it.
parent 6af6b96c
......@@ -246,7 +246,7 @@ archive_read_disk_entry_from_file(struct archive *_a,
return (r);
#ifdef __APPLE__
#if defined(__APPLE__) && defined(HAVE_COPYFILE_H)
* The Mac OS "copyfile()" API copies the extended metadata for a
* file into a separate file in AppleDouble format (see RFC 1740).
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment