OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [binutils/] [strings.c] - Diff between revs 205 and 206

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 205 Rev 206
Line 86... Line 86...
#else
#else
typedef off_t file_off;
typedef off_t file_off;
#define file_open(s,m) fopen(s, m)
#define file_open(s,m) fopen(s, m)
#endif
#endif
#ifdef HAVE_STAT64
#ifdef HAVE_STAT64
 
# ifndef __APPLE__
typedef struct stat64 statbuf;
typedef struct stat64 statbuf;
#define file_stat(f,s) stat64(f, s)
#define file_stat(f,s) stat64(f, s)
#else
#else
 
// On OS X was getting errors to do with stat64() being deprecated
 
typedef struct stat statbuf;
 
#define file_stat(f,s) stat(f, s)
 
# endif
 
#else
typedef struct stat statbuf;
typedef struct stat statbuf;
#define file_stat(f,s) stat(f, s)
#define file_stat(f,s) stat(f, s)
#endif
#endif
 
 
/* Radix for printing addresses (must be 8, 10 or 16).  */
/* Radix for printing addresses (must be 8, 10 or 16).  */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.