summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibarchive/libarchive/archive_entry_xattr.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-01-12 18:52:14 (GMT)
committerBrad King <brad.king@kitware.com>2011-01-12 18:52:14 (GMT)
commitcf5ad18340f1d775e47c7aa9afde7deb0482027e (patch)
tree7191008f1faa201954c42546ca0c8d0fc17c3a22 /Utilities/cmlibarchive/libarchive/archive_entry_xattr.c
parentdde0c89cfcec22ac75cbadd77e45d2113521f326 (diff)
downloadCMake-cf5ad18340f1d775e47c7aa9afde7deb0482027e.zip
CMake-cf5ad18340f1d775e47c7aa9afde7deb0482027e.tar.gz
CMake-cf5ad18340f1d775e47c7aa9afde7deb0482027e.tar.bz2
libarchive: Fix major() check for LSB 4.0 (#11648)
The LSB header files define major() as a macro but if it is ever called the macro references symbols not available at link time. Improve the test for major() to actually call the macro and try to link. This approach is based on upstream libarchive SVN commit 2866 which fixed libarchive issue 125, submitted in response to CMake issue #11648. Inspired-by: Tim Kientzle <kientzle@freebsd.org>
Diffstat (limited to 'Utilities/cmlibarchive/libarchive/archive_entry_xattr.c')
0 files changed, 0 insertions, 0 deletions