diff options
author | Dodji Seketeli <dodji@redhat.com> | 2017-11-13 12:52:07 +0100 |
---|---|---|
committer | Dodji Seketeli <dodji@redhat.com> | 2017-11-13 12:52:07 +0100 |
commit | 2c33f164051493fd43823e2a608459d11894e489 (patch) | |
tree | 19a9fc30cccb3f76411d3957922ada147975fd47 /ChangeLog | |
parent | Edit the NEWS file a tiny little bit for 1.0 (diff) | |
download | libabigail-2c33f164051493fd43823e2a608459d11894e489.tar.gz libabigail-2c33f164051493fd43823e2a608459d11894e489.tar.bz2 libabigail-2c33f164051493fd43823e2a608459d11894e489.tar.xz |
Support systems where fts.h can't be used with _FILE_OFFSET_BITS set
On some 32 systems (older glibc) the fts.h file cannot be included
"as-is" if the _FILE_OFFSET_BITS macro is set to 64.
This patch handles that case gently by including fts.h with
_FILE_OFFSET_BITS unset, but then by making sure fts.h can still
handle 64 bits file offset files.
* configure.ac: Detect if we are on a system where fts.h cannot be
included with _FILE_OFFSET_BITS defined. If that is the case,
then define the BAD_FTS macro.
* src/abg-tools-utils.cc: If BAD_FTS is defined then include fts.h
with _FILE_OFFSET_BITS not defined (that is, before config.h) but
then make sure that open and fopen are 64 bits aware.
* tools/abipkgdiff.cc: Likewise.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions