diff options
author | Jerome Guitton <guitton@adacore.com> | 2005-04-20 15:00:15 +0000 |
---|---|---|
committer | Jerome Guitton <guitton@adacore.com> | 2005-04-20 15:00:15 +0000 |
commit | ec7b76fec338ed275e5e4fa9c424345ffc0bb46a (patch) | |
tree | 193fa57cb5a60639c2897283d42d0cd51da047e1 /bfd/sysdep.h | |
parent | 30e6617391a69a824f8493843c0ad5eb76923ca3 (diff) | |
download | gdb-ec7b76fec338ed275e5e4fa9c424345ffc0bb46a.zip gdb-ec7b76fec338ed275e5e4fa9c424345ffc0bb46a.tar.gz gdb-ec7b76fec338ed275e5e4fa9c424345ffc0bb46a.tar.bz2 |
* configure.in: Fix the check for basename declaration. Add check
for declarations of ftello, ftello64, fseeko, fseeko64.
* configure: Regenerate.
* config.in: Ditto.
* sysdep.h: If needed, declare ftello, ftello64, fseeko, fseeko64.
Diffstat (limited to 'bfd/sysdep.h')
-rw-r--r-- | bfd/sysdep.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/bfd/sysdep.h b/bfd/sysdep.h index e94491d..b3c917f 100644 --- a/bfd/sysdep.h +++ b/bfd/sysdep.h @@ -129,6 +129,30 @@ extern PTR realloc (); extern char *strstr (); #endif +#ifdef HAVE_FTELLO +#if !HAVE_DECL_FTELLO +extern off_t ftello (FILE *stream); +#endif +#endif + +#ifdef HAVE_FTELLO64 +#if !HAVE_DECL_FTELLO64 +extern off64_t ftello64 (FILE *stream); +#endif +#endif + +#ifdef HAVE_FSEEKO +#if !HAVE_DECL_FSEEKO +extern int fseeko (FILE *stream, off_t offset, int whence); +#endif +#endif + +#ifdef HAVE_FSEEKO64 +#if !HAVE_DECL_FSEEKO64 +extern int fseeko64 (FILE *stream, off64_t offset, int whence); +#endif +#endif + /* Define offsetof for those systems which lack it */ #ifndef offsetof |