* strings.c: Include config.h before bfd.h.
authorJakub Jelinek <jakub@redhat.com>
Tue, 4 Dec 2001 10:11:22 +0000 (10:11 +0000)
committerJakub Jelinek <jakub@redhat.com>
Tue, 4 Dec 2001 10:11:22 +0000 (10:11 +0000)
commitcedd9a58070bd8620dfb12983a53249c776b6872
tree2e3b1a0914acdbbe4c2f42b01049d747f3e88715
parentd126725049bcee3c863e3908d1ea51cc5e13afed
* strings.c: Include config.h before bfd.h.
(file_off): New type.
(file_open): Define.
(print_strings): Use file_off instead of file_ptr.  Print addresses
which don't fit into long correctly.
(get_char): Use file_off instead of file_ptr.  Use getc_unlocked if
available.
(strings_file): Use file_off instead of file_ptr.  Use file_open.
* configure.in: Check for getc_unlocked.
Check for fopen64 and whether _LARGEFILE64_SOURCE needs to
be defined for it.
* configure: Rebuilt.
* config.h.in: Rebuilt.
binutils/ChangeLog
binutils/config.in
binutils/configure
binutils/configure.in
binutils/strings.c