diff options
Diffstat (limited to 'bfd/bfdio.c')
-rw-r--r-- | bfd/bfdio.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bfd/bfdio.c b/bfd/bfdio.c index 5c3774a..22ea886 100644 --- a/bfd/bfdio.c +++ b/bfd/bfdio.c @@ -63,6 +63,16 @@ real_fseek (FILE *file, file_ptr offset, int whence) #endif } +FILE * +real_fopen (const char *filename, const char *modes) +{ +#if defined (HAVE_FOPEN64) + return fopen64 (filename, modes); +#else + return fopen (filename, modes); +#endif +} + /* INTERNAL_DEFINITION struct bfd_iovec |