summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibarchive/libarchive/archive_platform.h
Commit message (Collapse)AuthorAgeFilesLines
* libarchive: Do not use nanosecond file time APIs on macOS < 10.13Brad King2017-09-201-0/+11
| | | | | | | | | The SDK for macOS 10.13 adds `futimens` and `utimensat` so our checks for these symbols may pass. However, the symbols are not available at runtime on older macOS versions. Instead on macOS we can check for availability based on the deployment target version. Issue: #17101
* Merge branch 'upstream-LibArchive' into update-libarchiveBrad King2017-07-201-26/+0
| | | | | * upstream-LibArchive: LibArchive 2017-07-09 (98a69539)
* Merge branch 'upstream-LibArchive' into update-libarchiveBrad King2017-02-201-1/+27
| | | | | * upstream-LibArchive: LibArchive 2017-02-19 (100ee75a)
* Merge branch 'upstream-LibArchive' into update-libarchiveBrad King2016-05-021-0/+15
| | | | | Resolve conflicts in C code by taking their side. Resolve conflicts in CMake code by integrating the changes.
* Merge branch 'libarchive-upstream' into update-libarchiveBrad King2014-04-031-2/+5
| | | | | | Resolve conflicts in favor of the upstream side where possible. Resolve a logical conflict in archive_windows.h where the upstream port to Watcom was done slightly differently from ours.
* libarchive: Workaround mbsnrtowcs assertion failure on old glibcBrad King2012-02-101-0/+5
| | | | | | | | | | | | The CMake TarTest fails with the error mbsnrtowcs.c:116: __mbsnrtowcs: Assertion `status == GCONV_OK || status != GCONV_EMPTY_INPUT || status == GCONV_ILLEGAL_INPUT || status == GCONV_INCOMPLETE_INPUT || status == GCONV_FULL_OUTPUT' failed. on very old glibc versions. Work around the problem by pretending that mbsnrtowcs does not exist. Libarchive will fall back to mbrtowc.
* Merge branch 'libarchive-upstream' into update-libarchiveBrad King2011-12-201-0/+165
| | | | | Add Utilities/cmlibarchive using upstream libarchive 3.0.0-r3950 snapshot.
* libarchive: Remove our copy to make room for new importBrad King2011-12-201-171/+0
|
* libarchive: Include integer types very earlyBrad King2009-11-181-8/+8
| | | | | | | | In libarchive/archive_platform.h we should include <stdint.h> or <inttypes.h> immediately after "config.h" to define integer types referenced by configuration results. For example, on a non-conformant platform ssize_t might default to int64_t, so int64_t must be defined before ssize_t is used (and ssize_t is used in archive_windows.h).
* libarchive: Fix Borland integer constantsBrad King2009-11-041-0/+24
| | | | | | | Some versions of Borland provide <stdint.h>, so we use it when possible. However, the 64-bit signed and unsigned integer min/max constants cause overflow warnings from Borland itself! For these constants we fall back on our default definitions.
* Fix for haikuBill Hoffman2009-10-311-0/+4
|
* Switch to using libarchive from libtar for cpack and cmake -E tarBill Hoffman2009-10-301-0/+143
This allows for a built in bzip and zip capability, so external tools will not be needed for these packagers. The cmake -E tar xf should be able to handle all compression types now as well.