2
0
mirror of https://github.com/bebbo/amigaos-binutils-2.14.git synced 2025-12-08 22:38:24 +00:00

* binutils: minor changes to make binutiles compile for a ppc-amigaos

hosted environment.
* gcc/gcc/config/rs6000/amigaos.c: fixed some compiler warnings
This commit is contained in:
Jens Maus
2008-02-24 13:48:21 +00:00
parent a36c7f2ce5
commit 9e48f9ca32
5 changed files with 13 additions and 3 deletions

View File

@ -98,7 +98,11 @@ extern int errno;
#define DATA_FLAGS (SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS)
#ifdef HAVE_FOPEN64
#if defined(__amigaos4__)
typedef _off64_t file_off;
#else
typedef off64_t file_off;
#endif
#define file_open(s,m) fopen64(s, m)
#else
typedef off_t file_off;